From 848b8e3545e99285e621a29192a481cdd5b7cfdc Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 7 Feb 2011 10:43:28 +0100 Subject: [PATCH] maemo: Register with the GtkIconTheme "changed" signal not until the GUI is initialized. --- src/frontends/maemo/src/strongswan-status.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontends/maemo/src/strongswan-status.c b/src/frontends/maemo/src/strongswan-status.c index 951ce50db1..278ca080dd 100644 --- a/src/frontends/maemo/src/strongswan-status.c +++ b/src/frontends/maemo/src/strongswan-status.c @@ -545,9 +545,6 @@ strongswan_status_init (StrongswanStatus *plugin) priv->conns = strongswan_connections_new (); - g_signal_connect_object (gtk_icon_theme_get_default (), "changed", - G_CALLBACK (icon_theme_changed), plugin, 0); - load_icons(priv); hd_status_plugin_item_set_status_area_icon (HD_STATUS_PLUGIN_ITEM (plugin), @@ -571,6 +568,9 @@ strongswan_status_init (StrongswanStatus *plugin) g_signal_connect (button, "clicked", G_CALLBACK (button_clicked), plugin); gtk_widget_show_all (GTK_WIDGET (plugin)); + + g_signal_connect (gtk_icon_theme_get_default (), "changed", + G_CALLBACK (icon_theme_changed), plugin); } static void -- 2.47.2