diff options
author | raveit65 <[email protected]> | 2017-05-09 12:42:34 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-05-09 17:16:29 +0200 |
commit | 24c247381e1e0fd62159bdcecf89929f2d846492 (patch) | |
tree | e9ed3c7717878bb88bdca4df5effbdbfc4d2c7f9 | |
parent | 0b8979bf8f541f8bd578d7e42bb2b6641f3c28dd (diff) | |
download | mate-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.
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |