[Xfce4-commits] r25764 - in xfce4-panel/branches/xfce_4_4: . plugins/clock

Nick Schermer nick at xfce.org
Fri May 25 12:28:06 CEST 2007


Author: nick
Date: 2007-05-25 10:28:06 +0000 (Fri, 25 May 2007)
New Revision: 25764

Modified:
   xfce4-panel/branches/xfce_4_4/ChangeLog
   xfce4-panel/branches/xfce_4_4/plugins/clock/clock.c
Log:
	* plugins/clock/clock.c: Also reschedule when the clock type changes.

Modified: xfce4-panel/branches/xfce_4_4/ChangeLog
===================================================================
--- xfce4-panel/branches/xfce_4_4/ChangeLog	2007-05-25 10:28:04 UTC (rev 25763)
+++ xfce4-panel/branches/xfce_4_4/ChangeLog	2007-05-25 10:28:06 UTC (rev 25764)
@@ -1,3 +1,7 @@
+2007-05-26 12:25 nick
+
+	* plugins/clock/clock.c: Also reschedule when the clock type changes.
+
 2007-05-25 12:16 nick
 
 	* plugins/clock/clock.c: Backport rev 25761.

Modified: xfce4-panel/branches/xfce_4_4/plugins/clock/clock.c
===================================================================
--- xfce4-panel/branches/xfce_4_4/plugins/clock/clock.c	2007-05-25 10:28:04 UTC (rev 25763)
+++ xfce4-panel/branches/xfce_4_4/plugins/clock/clock.c	2007-05-25 10:28:06 UTC (rev 25764)
@@ -516,6 +516,8 @@
     cd->clock->mode = gtk_combo_box_get_active(cb);
     xfce_clock_set_mode (XFCE_CLOCK (cd->clock->clock), cd->clock->mode);
     
+    clock_reschedule (cd->clock);
+    
     clock_set_sensitive (cd);
     
     clock_update_size (cd->clock, 



More information about the Xfce4-commits mailing list