[Goodies-commits] r2751 - in xfce4-time-out-plugin/trunk: . panel-plugin

Jannis Pohlmann jannis at xfce.org
Mon May 14 22:59:31 CEST 2007


Author: jannis
Date: 2007-05-14 20:59:31 +0000 (Mon, 14 May 2007)
New Revision: 2751

Modified:
   xfce4-time-out-plugin/trunk/ChangeLog
   xfce4-time-out-plugin/trunk/TODO
   xfce4-time-out-plugin/trunk/panel-plugin/time-out.c
Log:
	* panel-plugin/time-out.c: Fix XfceRc being opened read-only
	  in time_out_save_settings() as reported by Nick. Don't 
	  restart the timer after closing the config dialog when
	  the plugin is not active. 
 

Modified: xfce4-time-out-plugin/trunk/ChangeLog
===================================================================
--- xfce4-time-out-plugin/trunk/ChangeLog	2007-05-14 20:42:09 UTC (rev 2750)
+++ xfce4-time-out-plugin/trunk/ChangeLog	2007-05-14 20:59:31 UTC (rev 2751)
@@ -1,5 +1,12 @@
 2007-05-06	Jannis Pohlmann <jannis at xfce.org>
 
+	* panel-plugin/time-out.c: Fix XfceRc being opened read-only
+	  in time_out_save_settings() as reported by Nick. Don't 
+	  restart the timer after closing the config dialog when
+	  the plugin is not active.
+
+2007-05-06	Jannis Pohlmann <jannis at xfce.org>
+
 	* panel-plugin/time-out-countdown.c: Make seconds to string
 	  conversion even better. Introduce new strings. Maybe I should
 	  switch to using ngettext ...

Modified: xfce4-time-out-plugin/trunk/TODO
===================================================================
--- xfce4-time-out-plugin/trunk/TODO	2007-05-14 20:42:09 UTC (rev 2750)
+++ xfce4-time-out-plugin/trunk/TODO	2007-05-14 20:59:31 UTC (rev 2751)
@@ -1,5 +1,5 @@
 * Add about dialog.
 * Replace appointment icon with something better (either a sports watch 
   or something like two hands forming a time out T).
-* Make countdown look better.
-* Add countdown label and postpone button to the lock screen.
+* Figure out how to track activity 
+* Put optional frame around the plugin

Modified: xfce4-time-out-plugin/trunk/panel-plugin/time-out.c
===================================================================
--- xfce4-time-out-plugin/trunk/panel-plugin/time-out.c	2007-05-14 20:42:09 UTC (rev 2750)
+++ xfce4-time-out-plugin/trunk/panel-plugin/time-out.c	2007-05-14 20:59:31 UTC (rev 2751)
@@ -538,7 +538,7 @@
   time_out_save_settings (time_out);
 
   /* Restart or resume break countdown */
-  if (G_UNLIKELY (restart))
+  if (G_UNLIKELY (restart && time_out->enabled))
     {
       time_out_stop_break_countdown (time_out);
       time_out_start_break_countdown (time_out, time_out->break_countdown_seconds);
@@ -712,7 +712,7 @@
   if (G_LIKELY (filename != NULL))
     {
       /* Open file handle */
-      rc = xfce_rc_simple_open (filename, TRUE);
+      rc = xfce_rc_simple_open (filename, FALSE);
 
       /* Check if the file could be opened */
       if (G_LIKELY (rc != NULL))




More information about the Goodies-commits mailing list