summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-05-09 12:42:34 +0200
committerraveit65 <[email protected]>2017-05-09 17:16:29 +0200
commit24c247381e1e0fd62159bdcecf89929f2d846492 (patch)
treee9ed3c7717878bb88bdca4df5effbdbfc4d2c7f9 /src/main.c
parent0b8979bf8f541f8bd578d7e42bb2b6641f3c28dd (diff)
downloadmate-polkit-24c247381e1e0fd62159bdcecf89929f2d846492.tar.bz2
mate-polkit-24c247381e1e0fd62159bdcecf89929f2d846492.tar.xz
status-icon: don't use stock icons1.16
Fixes damaged status icon if GtkStatusIcon is used.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 197d29a..f3d5b74 100644
--- a/src/main.c
+++ b/src/main.c
@@ -157,7 +157,7 @@ update_temporary_authorization_icon_real (void)
GtkWidget *item, *menu;
app_indicator = app_indicator_new ("mate-polkit",
- "gtk-dialog-authentication",
+ "dialog-password",
APP_INDICATOR_CATEGORY_SYSTEM_SERVICES);
item = gtk_menu_item_new_with_label (_("Drop all elevated privileges"));
@@ -178,7 +178,7 @@ update_temporary_authorization_icon_real (void)
#else
if (status_icon == NULL)
{
- status_icon = gtk_status_icon_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION);
+ status_icon = gtk_status_icon_new_from_icon_name ("dialog-password");
gtk_status_icon_set_tooltip_text (status_icon,
_("Click the icon to drop all elevated privileges"));
g_signal_connect (status_icon,