[Xfce4-commits] <xfce4-indicator-plugin:master> Force a configuration-changed signal at start-up.

Andrzej noreply at xfce.org
Thu Apr 4 17:44:28 CEST 2013


Updating branch refs/heads/master
         to 81c78516eec9103da0ba00c79ab2d936a91b6c99 (commit)
       from 346cfe1ab16173fc0c5fe13a23c144a94f99239e (commit)

commit 81c78516eec9103da0ba00c79ab2d936a91b6c99
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Thu Mar 14 00:44:46 2013 +0000

    Force a configuration-changed signal at start-up.

 panel-plugin/indicator-config.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/indicator-config.c b/panel-plugin/indicator-config.c
index 09dbb96..c4bcf16 100644
--- a/panel-plugin/indicator-config.c
+++ b/panel-plugin/indicator-config.c
@@ -773,6 +773,8 @@ indicator_config_new (const gchar     *property_base)
       property = g_strconcat (property_base, "/known-indicators", NULL);
       xfconf_g_property_bind (channel, property, XFCE_TYPE_INDICATOR_CONFIG_VALUE_ARRAY, config, "known-indicators");
       g_free (property);
+
+      g_signal_emit (G_OBJECT (config), indicator_config_signals[CONFIGURATION_CHANGED], 0);
     }
 
   return config;


More information about the Xfce4-commits mailing list