On Fri, 28 May 2010, Tomás Solar Castro wrote:

> I know it and I realize it. It is not the best and most elegant code, 
> but it does the trick

Take the function out of the register() call. Then register the function 
it self as a widget.

vicious.register(mywidget, myfunction, "", 10)

-- 
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618

-- 
To unsubscribe, send mail to [email protected].

Reply via email to