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



commit 01ca26de4b6df17bd3b734275889f43b970ebc21
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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 4ac7fab..66cbfd6 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -15,7 +15,7 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  *
- * Copyright (C) 2004 - 2015 Red Hat, Inc.
+ * Copyright (C) 2004 - 2017 Red Hat, Inc.
  * Copyright (C) 2005 - 2008 Novell, Inc.
  *
  * This applet used the GNOME Wireless Applet as a skeleton to build from.
@@ -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]