diff pkui-icon.h @ 46:aa5d3752091d

Make the update viewer command configurable Make the update viewer command configurable at copile time through the UPDATE_VIEWER_COMMAND macro. Make the update viewer command configurable at run time through the -c/--command command line option. Treat the update viewer command as a shell command and parse it via g_shell_parse_argv(), this allows for running the update viewer via xdg-su, gnomesu, pkexec etc. Disable install action in the notification and on the status icon in case no update viewer command has been provided.
author Guido Berhoerster <gber@opensuse.org>
date Thu, 18 Jun 2015 14:10:57 +0200
parents c390b3638e6a
children 7de92a24e86c
line wrap: on
line diff
--- a/pkui-icon.h	Thu Jun 18 13:35:55 2015 +0200
+++ b/pkui-icon.h	Thu Jun 18 14:10:57 2015 +0200
@@ -54,7 +54,7 @@
 };
 
 GType		pkui_icon_get_type(void);
-PkuiIcon	*pkui_icon_new(guint startup_delay, guint check_interval);
+PkuiIcon	*pkui_icon_new(guint, guint, const gchar *);
 
 G_END_DECLS