Commit Graph

7 Commits

Author SHA1 Message Date
Davide Andreoli beec9a292d Set/calc better the obj size hints, also respect aspect_hints 2014-08-31 16:26:57 +02:00
Davide Andreoli c343bd509c Correctly set size_hints so the popup resize well 2014-08-31 13:00:40 +02:00
Davide Andreoli 192fa721fd Audio: keep the popup updated on new/deleted mpris2 clients 2014-08-31 10:13:51 +02:00
Davide Andreoli ea66f6dbc2 Added the gadget option: popup_on_desktop
If the gadget have this option setted then on the desktop we put directly
the popup content, instead of the main obj.

Used in the audio gadget
2014-08-30 17:04:43 +02:00
Davide Andreoli 684fb7fc90 Audio: gracefully handle pulse disconnection
Also moved the address_lookup function for readability
2014-08-30 11:13:55 +02:00
Davide Andreoli 0b7cf71b05 Move the gadget infos to the module level
I got some trouble withe them stored inside the class on py3.4,
edgar was getting the info from the base class instead of the gadget.
2014-08-28 20:49:45 +02:00
Davide Andreoli 374e32e5b8 Say welcome to Edgar, the python gadget loader.
You can now write E gadgets in python.
...python rocks !!
2014-08-27 21:40:56 +02:00