Re: [Patch] Let graph and progressbar return their own widget in :set_* functions

2009-08-09 Thread Julien Danjou
At 1249739632 time_t, Uli Schlachter wrote: > I hate it when this happens. Attached is a fixed version of the patch. Pushed. -- Julien Danjou // ᐰhttp://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // This is the end of my signature. signature.asc Description: D

Re: [Patch] Let graph and progressbar return their own widget in :set_* functions

2009-08-08 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Uli Schlachter wrote: > This change enables stuff like the following: [snip] I hate it when this happens. Attached is a fixed version of the patch. The only change: "return pbar" instead of "return pb" in progressbar's set_value(). Uli - -- "Do y

[Patch] Let graph and progressbar return their own widget in :set_* functions

2009-08-08 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi list, This change enables stuff like the following: awful.widget.graph({}):set_color("red"):set_width(40):add_value(0.5) Additionally, one can use the above directly in th widgets table. This most likely doesn't break any existing configs and