[Xfce4-commits] <xfce4-panel:andrzejr/clock-timezone> Clock plugin: a fix to the previous commit

Andrzej noreply at xfce.org
Mon Feb 25 03:00:01 CET 2013


Updating branch refs/heads/andrzejr/clock-timezone
         to f3b2d7222d84340f5a4555c9196af44226d23910 (commit)
       from d39415b246fca13c4c4f9c4ba763a8a5f42cb4f1 (commit)

commit f3b2d7222d84340f5a4555c9196af44226d23910
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Mon Feb 25 01:58:06 2013 +0000

    Clock plugin: a fix to the previous commit
    
    The new property was not bound properly.

 plugins/clock/clock.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index e6ba940..43f5dc3 100644
--- a/plugins/clock/clock.c
+++ b/plugins/clock/clock.c
@@ -231,7 +231,8 @@ clock_plugin_class_init (ClockPluginClass *klass)
   g_object_class_install_property (gobject_class,
                                    PROP_TIME_CONFIG_TOOL,
                                    g_param_spec_string ("time-config-tool",
-                                                        NULL, NULL, NULL,
+                                                        NULL, NULL,
+                                                        DEFAULT_TIME_CONFIG_TOOL,
                                                         EXO_PARAM_READWRITE));
 }
 
@@ -452,6 +453,7 @@ clock_plugin_construct (XfcePanelPlugin *panel_plugin)
     { "tooltip-format", G_TYPE_STRING },
     { "command", G_TYPE_STRING },
     { "rotate-vertically", G_TYPE_BOOLEAN },
+    { "time-config-tool", G_TYPE_STRING },
     { NULL }
   };
 


More information about the Xfce4-commits mailing list