[Xfce4-commits] <xfce4-panel:master> Clock plugin: a fix to the previous commit

Andrzej noreply at xfce.org
Sun Mar 3 12:02:06 CET 2013


Updating branch refs/heads/master
         to 592668fb4cdfb57ab92a3aa68b42ece502c0c4fe (commit)
       from 7d6203b69bd776304825afcdc859f115c911d7cf (commit)

commit 592668fb4cdfb57ab92a3aa68b42ece502c0c4fe
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