[network-manager-applet/lr/ui-improvements: 6/9] applet: avoid using GTK_STOCK_NETWORK



commit 30334eb2666e6f7d61045a225225c42be7c5c7d9
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Thu Jun 22 18:39:31 2017 +0200

    applet: avoid using GTK_STOCK_NETWORK
    
    It's deprecated and results in an incorrect icon for the windows.

 src/applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 4ac7fab..6f7ad81 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -3280,7 +3280,7 @@ applet_startup (GApplication *app, gpointer user_data)
        gs_free_error GError *error = NULL;
 
        g_set_application_name (_("NetworkManager Applet"));
-       gtk_window_set_default_icon_name (GTK_STOCK_NETWORK);
+       gtk_window_set_default_icon_name ("network-workgroup");
 
        applet->info_dialog_ui = gtk_builder_new ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]