Commit Graph

59 Commits

Author SHA1 Message Date
Davide Andreoli 53bdf254bd Edgar: switch to meson
...still not working with recent e, that changed the way modules are loaded
2020-04-21 11:49:02 +02:00
Davide Andreoli d0cb51f2ad Make edgar work with current efl+e master 2019-06-18 18:56:47 +02:00
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 eda7aef670 Netspeed gadget: whooops, fix to build again.
It was broken since last commit ... sorry :(
2018-08-15 08:27:50 +02:00
Davide Andreoli 4a81ad6b47 Update all gadgets to API 2 2018-07-14 17:26:32 +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 8bacfdf5bd Delete the ruler gadget
It does not work well with the new E gadgets infra,
and it was just a simple example
2018-03-06 20:12:06 +01: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 63b9e57ba4 Netspeed gadget: code cleanup
and fixed received value
2017-09-16 08:50:15 +02:00
Davide Andreoli c67f14167c Add the new NetSpeed python gadget
Total coding time: 3 hours... python rocks !!!
2017-09-09 00:29:38 +02: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 68c1369c18 Dropbox gadget: support db installation in /opt
as found in the arch linux package
2017-08-11 08:03:17 +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 4386c386e4 Cpu gadget: add compatibility with older psutil
not tested yet, will try tomorrow..but should work
2015-09-13 16:47:56 +02:00
Davide Andreoli 7cdd484427 Cpu gadget: add a popup with the list of running processes 2015-09-13 16:23:14 +02:00
Davide Andreoli b803a06a31 Mem gadget: add a popup with exensive info 2015-09-12 16:26:50 +02: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 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