Author: juha
Date: 2008-11-16 22:52:55 +0000 (Sun, 16 Nov 2008)
New Revision: 28830
Modified:
xfcalendar/trunk/panel-plugin/orageclock.c
Log:
fixed hour clock timing
Modified: xfcalendar/trunk/panel-plugin/orageclock.c
===================================================================
--- xfcalendar/trunk/panel-plugin/orageclock.c 2008-11-16 22:39:14 UTC (rev
28829)
+++ xfcalendar/trunk/panel-plugin/orageclock.c 2008-11-16 22:52:55 UTC (rev
28830)
@@ -118,7 +118,10 @@
* FIXME: we might be 59 secs off and will not see that! */
oc_start_timer(clock);
}
-
+ else if (clock->interval > 60000 && clock->now.tm_min != 0) {
+ /* we need to check also minutes if we are using hour timer */
+ oc_start_timer(clock);
+ }
return(TRUE);
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits