From 24c247381e1e0fd62159bdcecf89929f2d846492 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 9 May 2017 12:42:34 +0200 Subject: status-icon: don't use stock icons Fixes damaged status icon if GtkStatusIcon is used. --- src/main.c | 4 ++-- 1 file 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, -- cgit v1.2.1