Commit Graph

37 Commits

Author SHA1 Message Date
Davide Andreoli 81bda2a9ce Add a new ram+swap gadget
screenshot and info at:
https://phab.enlightenment.org/w/emodules/edgar/
2015-09-11 22:47:26 +02:00
Davide Andreoli caa232dcc0 CPU: also support 1.x psutil version 2015-09-10 20:08:34 +02:00
Davide Andreoli e396e51f33 Add a multicore CPU monitor gadget.
As always this prove the coolness of edgar :) the whole
gadget are just 69 lines of python code (plus 150 of the edc)

A bit more of info at:
https://phab.enlightenment.org/w/emodules/edgar/
2015-09-09 21:42:51 +02:00
Davide Andreoli c1f8428199 Update readme 2015-08-30 14:49:53 +02:00
Davide Andreoli fb1afc286b Add a new Dropbox gadget
It show the dropbox status and enable to start/stop the daemon
2015-08-30 13:56:03 +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
Kai Huuhko 3133ede876 Remove explicit link to elm
Not needed with >=e18
2015-04-08 23:48:30 +03: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 c856c024eb Audio: correctly remove the sliders from our lists on popup_destroyed 2014-09-07 14:22:42 +02:00
Davide Andreoli 8b36f1a429 Audio: use ElmLayout instead of pure Edje
This way I do not need to manually delete the swallowed images
2014-09-07 14:10:13 +02: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 337598464d Notify the gadget about new channels in the correct place
Now the gadget on the desktop should be always accurate
2014-09-02 20:35:16 +02:00
Davide Andreoli 243f25da04 Try to start PulseAudio if the connection failed (max 3 times).
The logic here is quite complex.
Leaved some print on purpose to see how it works
2014-09-02 20:24:58 +02:00
Davide Andreoli 8b724d1cf2 More generic clean in gadgets Makefile 2014-09-02 19:41:36 +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 c343bd509c Correctly set size_hints so the popup resize well 2014-08-31 13:00:40 +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 192fa721fd Audio: keep the popup updated on new/deleted mpris2 clients 2014-08-31 10:13:51 +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 36c8e39c34 Some doc to help writing your own gadget 2014-08-30 12:11:30 +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 fce3d8716c No more need for this workaround
I forgot to remove this when fixed the popup obj del callback
2014-08-30 10:09:07 +02:00
Davide Andreoli 06dd897f2e Some instructions in the README 2014-08-29 21:07:41 +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 43627db1b3 gitignore ++ 2014-08-27 21:44:46 +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