Trigger launcher

Bernhard Walle Bernhard.Walle at gmx.de
Sat Jul 5 10:02:42 CEST 2003


On Sat, 05 Jul 2003 at 00:36 (+0200), Danny wrote:
> Am Fre, 2003-07-04 um 19.12 schrieb Bernhard Walle:
> 
> > I looked at the code, the changes should be not very complicated, the
> > only problem for me is how to run the check every two seconds ... But if
> > someone if familar with the xfce code it would be trivial, I think. :-)
> 
> The interval in which the checks are done can be set in the plugin
> preferences... 

There's a small bug in saving and restoring this value, here's the
patch:

Index: triggerlauncher.c
===================================================================
RCS file: /cvsroot/xfce/xfce4-extras/xfce4-trigger-launcher/panel-plugin/triggerlauncher.c,v
retrieving revision 1.7
diff -u -r1.7 triggerlauncher.c
--- triggerlauncher.c   4 Jul 2003 23:47:50 -0000       1.7
+++ triggerlauncher.c   5 Jul 2003 08:01:58 -0000
@@ -1057,7 +1057,7 @@
        }
 
        sprintf(value, "%.1lf", tl->options.timeout);
-       node = xmlNewTextChild (root, NULL, "Tooltip", value);
+       node = xmlNewTextChild (root, NULL, "Timeout", value);
 }
 
 G_MODULE_EXPORT void


Regards,
Bernhard

-- 



More information about the Xfce4-dev mailing list