Trigger launcher

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Fri Jul 4 19:55:09 CEST 2003


On Fri, 04, Jul 2003, Bernhard Walle wrote:

> Hello,

Hey Bernhard,

> So I suggest following:
> 
> Three commands:    1st command:      Off->On   (e.g. isdnctrl dial ippp0)
>                    2nd command:      On->Off   (e.g. isdnctrl hangup ippp0)
>                    3rd command:      State     returns 0 if 'On' and another
>                                                code otherwise

I'd suggest the 1st and 2nd command to also return 0 on success, so
the icon can be set right after the 1st/2nd command is executed.

> 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. :-)

Easy, g_timeout_add() :-)

> Regards,
> Bernhard

Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/



More information about the Xfce4-dev mailing list