[network-manager-applet: 2/6] applet: ensure to load icons in nma_icons_init()



commit cea7fafba317041a0dd4da79d9fbb4a83ec5d7d2
Author: Thomas Haller <thaller redhat com>
Date:   Sun Mar 13 10:55:25 2016 +0100

    applet: ensure to load icons in nma_icons_init()

 src/applet.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 63bfbd0..aaa1b7e 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -3029,6 +3029,8 @@ static void nma_icons_init (NMApplet *applet)
        }
 
        g_signal_connect (applet->icon_theme, "changed", G_CALLBACK (nma_icons_reload), applet);
+
+       nma_icons_reload (applet, NULL);
 }
 
 #ifndef ENABLE_INDICATOR
@@ -3038,7 +3040,6 @@ status_icon_screen_changed_cb (GtkStatusIcon *icon,
                                NMApplet *applet)
 {
        nma_icons_init (applet);
-       nma_icons_reload (applet, NULL);
 }
 
 static gboolean


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