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 1ff9d69434 Safety checks 2014-08-31 11:08:14 +02:00
Davide Andreoli 518dd74474 Call the correct gadget method on gc_shutdonw
If this was a popup-on-desktop instance call the popup_destroyed()
method instead of the instance_destroyed() one
2014-08-31 10:45:13 +02:00
Davide Andreoli fd5637b089 Check the existance of the opts dict before accessing it 2014-08-30 17:54:00 +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 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