[Xfce4-commits] r25763 - in xfce4-panel/trunk: . plugins/clock

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


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

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

Modified: xfce4-panel/trunk/ChangeLog
===================================================================
--- xfce4-panel/trunk/ChangeLog	2007-05-25 10:19:51 UTC (rev 25762)
+++ xfce4-panel/trunk/ChangeLog	2007-05-25 10:28:04 UTC (rev 25763)
@@ -1,3 +1,7 @@
+2007-05-26 12:25 nick
+
+	* plugins/clock/clock.c: Also reschedule when the clock type changes.
+
 2007-05-26 12:07 nick
 
 	* plugins/clock/clock.c: Only update the clock once a minute when

Modified: xfce4-panel/trunk/plugins/clock/clock.c
===================================================================
--- xfce4-panel/trunk/plugins/clock/clock.c	2007-05-25 10:19:51 UTC (rev 25762)
+++ xfce4-panel/trunk/plugins/clock/clock.c	2007-05-25 10:28:04 UTC (rev 25763)
@@ -514,6 +514,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);
 



More information about the Xfce4-commits mailing list