Commit Graph

19 Commits

Author SHA1 Message Date
Davide Andreoli 3f954f4675 Fix E19 compatibility
Now edgar works again in E20 and E19, still need to test on E18....
someone can test it on 18?
2015-04-09 20:54:00 +02:00
Davide Andreoli 31a1404477 No need to include Elm.h
e.h yet include it
2015-04-08 22:09:59 +02:00
Davide Andreoli 63510bcfbe Try to simplify the E version check
We now use E_VERSION_MAJOR provided by e19 and e20,
while manually set it on e18

Minimum e version: 0.18, sorry Jef, but e17 is really too old to support in a sane and reliable way

Tested only on e20, tomorrow will test in e19 and (hopefully) e18
2015-04-08 22:08:48 +02:00
Kai Huuhko 6669595f1a Revert python code install location to libdir/enlightenment/gadgets
As requested by DaveMDS
2015-04-08 22:06:14 +03:00
Kai Huuhko 4855de622f Add back full E19/E20 compatibility
Not yet E17 compatible, need to find out why E sigaborts on popup open
2015-04-07 23:27:08 +03:00
Kai Huuhko b1c125a796 Follow changes in E 0.19.99 development
e_util_zone_current_get(e_manager_current_get()) -> e_zone_current_get()
2015-03-14 16:40:27 +02:00
Davide Andreoli d6f41d8c8a Try to disable Py_Finalize for now 2015-01-07 19:43:40 +01:00
Davide Andreoli f36ea5a7c2 Fix for recent changes in e19 2014-11-28 20:17:40 +01:00
Davide Andreoli 421ee244a7 theme_edje_object_set() now also support ElmLayout
thus renamed to theme_object_set()
2014-09-07 13:03:58 +02:00
Davide Andreoli ef34d7d9ea E18 wants a br at the end of the dialog, otherwise last line is cutted out 2014-09-02 19:41:09 +02:00
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 af2bd6a42f Use a more recent version of the python m4 macro 2014-08-28 23:35:26 +02:00
Davide Andreoli 9931fa4216 Try a different way to check for python3 2014-08-28 23:23:44 +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