Hi,

I'm using tkremind and I need to update reminder files from the outside.
The problem is that tkremind doesn't "see" these udates.
After reading the docs I have modified tkremind this way :

--- /usr/bin/tkremind   2013-11-24 08:34:34.000000000 +0100
+++ ./tkremind  2013-11-30 09:48:58.554313925 +0100
@@ -2821,7 +2821,11 @@
     # Doh -- don't interpret as an octal number if leading zero
     scan $secs "%d" decSecs
     set decSecs [expr 60 - $decSecs]
-    after [expr $decSecs * 1000] DisplayTimeContinuously
+    after [expr $decSecs * 1000] {
+        FillCalWindow
+        RestartBackgroundRemindDaemon
+        DisplayTimeContinuously
+    }
 }

The RestartBackgroundRemindDaemon call does the job.
The FillCalWindow permits to updade

Ii works but I would like to know if this method is good, and if so, if the patch could be applied to source.

Regards

nb

_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind

Reply via email to