Davide Andreoli
381121b45d
Fix for recent gadget api changes
...
Also use "new style" dialog done with ctxpopup
2018-10-22 23:31:13 +02:00
Davide Andreoli
78c6416b09
change popups to be elm based, no more edje for them
...
this change gadget API, all the gadgets will be updated
in the next commit
2018-07-14 17:14:03 +02:00
Davide Andreoli
205a16700e
Add support for new E gadgets infra
...
Edgar gadgets can now live on both shelves and bryces.
2018-03-06 11:04:45 +01:00
Davide Andreoli
c751489d8c
Workaround sizing of the gadgets info popup
...
This was used to work but now the popup is no more sized correctly.
(read: something break somewhere, and is brobably not going to be fixed)
The fix is not ideal (the popup should not be resizible) but at
least now it show something.
2018-02-18 16:32:44 +01:00
Davide Andreoli
7a09d3d26d
FollowTheWhiteRabbit
2017-12-11 19:41:38 +01:00
Davide Andreoli
1f7548132e
Fix for efl 1.21 changes
...
note: efl in git still does not provide EFL_VERSION_1_21, so this is still broken for you.
2017-08-13 09:44:54 +02:00
Davide Andreoli
10cf94460f
Fix for recent eo changes
...
ifdef going crazy... #FollowTheWhiteRabbit (tm)
2016-10-14 21:48:38 +02:00
Davide Andreoli
2462795896
Latest Eo changes
...
#FollowTheWhiteRabbit (tm)
2016-06-26 17:45:32 +02:00
Davide Andreoli
13475e140c
retain compatibility with efl 1.17
2016-05-12 20:44:12 +02:00
Davide Andreoli
f23d28a587
Follow recent Eo changes
2016-03-18 21:30:21 +01:00
Davide Andreoli
6e186dcb85
More correct usage of PyErr_Print()
...
that function can crash if no errors really occurred
2015-09-11 22:49:24 +02:00
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
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