ekiga r6292 - in trunk: . src/gui



Author: dsandras
Date: Tue May 20 19:42:36 2008
New Revision: 6292
URL: http://svn.gnome.org/viewvc/ekiga?rev=6292&view=rev

Log:
Fixed status initialization when starting.


Modified:
   trunk/ChangeLog
   trunk/src/gui/statusmenu.cpp

Modified: trunk/src/gui/statusmenu.cpp
==============================================================================
--- trunk/src/gui/statusmenu.cpp	(original)
+++ trunk/src/gui/statusmenu.cpp	Tue May 20 19:42:36 2008
@@ -35,6 +35,16 @@
  *
  */
 
+
+/*
+ * The StatusMenu can be seen as an extended preferences window. 
+ * It can thus directly react to GMConf key changes and write in the GMConf 
+ * database.
+ *
+ * It does not need to listen to sigc++ signals to react to key changes.
+ *
+ */
+
 #include "config.h"
 #include "statusmenu.h"
 
@@ -866,6 +876,8 @@
                         long_status_message_changed, self);
   gm_conf_notifier_add (PERSONAL_DATA_KEY "short_status", 
                         short_status_message_changed, self);
+  gm_conf_notifier_trigger (PERSONAL_DATA_KEY "long_status");
+  gm_conf_notifier_trigger (PERSONAL_DATA_KEY "short_status");
 }
 
 



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