Mercurial > projects > pk-update-icon
comparison 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 |
comparison
equal
deleted
inserted
replaced
45:a29fbf0a7f6c | 46:aa5d3752091d |
---|---|
52 { | 52 { |
53 GObjectClass parent_class; | 53 GObjectClass parent_class; |
54 }; | 54 }; |
55 | 55 |
56 GType pkui_icon_get_type(void); | 56 GType pkui_icon_get_type(void); |
57 PkuiIcon *pkui_icon_new(guint startup_delay, guint check_interval); | 57 PkuiIcon *pkui_icon_new(guint, guint, const gchar *); |
58 | 58 |
59 G_END_DECLS | 59 G_END_DECLS |
60 | 60 |
61 #endif /* __PKUI_ICON_H */ | 61 #endif /* __PKUI_ICON_H */ |