NOTE: I did some test and wasn't able to trigger the documented segv.
If you get a segv on exit, please report and help me to understand how
to trigger it. Anyway, I reactived it so that we can get global memory
consuption statistic with e17.
SVN revision: 47322
Use efreet_desktop_uncached_new to get a unique copy of a Efreet_Desktop
read from disk. This way the editor wont interfere with the running
system. Any changes to .desktop files must then be caught by file
monitoring.
SVN revision: 47251
Special values enables showing different label for some values, for
example, 0 may mean "undefined", "never"...
cleanup -Wextra was done as well.
SVN revision: 47144
okay, maybe too much for a single patch, but they are all pretty trivial:
- whitespace cleanups;
- simplify "sd" assignments;
- add const keyword to getters;
- return if file_set operation succeeded or not.
SVN revision: 47069
NOTE: the color selection widget (e_widget_csel) is way too
complex. The basic editor should not show HSV as most people
have no clue what it is.
SVN revision: 46926
* use toolbook and segment all information to different pages
* icon got its own page, with bigger view
* labels on one line, entries on the next: more consistency, better
alignment, takes less horizontal space and allows entries to show
more characters.
* editing new desktop files (Settings > Apps > New Application) will
use a dynamically created name based on application name, instead
of falling back to a numeric based _new_app-%d.desktop.
SVN revision: 46902
efreet_desktop_get (will in time) setup a lot of stuff to monitor
changes. If we just use the results from efreet_desktop_get within one
function and then free, this is unneeded overhead. efreet_desktop_free
will more lightweight (but require a bit more mem alloc).
SVN revision: 46847
Create the list later so the dialog shows up immediately and is later
populated. The creation of the list is quite expensive, with disk,
efreet and later computation of the final list.
It seems good now, but if required it could be split a bit more,
instead of doing one directory per idle run, do one file.
SVN revision: 46843
This dialog was reworked to have one single list instead of two. This
makes the internals way simpler and also fits small screens.
Extra benefit is that we don't need to reload the list, so it's
flicker-free and you don't loose context. Of course it will save some
cpu cycles not having to do these list fills over and over again.
the ilist had to be changed to include an "end" object, in the default
theme it is at the right. It will use a part named
e/widget/ilist/toggle_end to present the selected state. (The
favorites/heart icon was choosen because it is red and thus easily
visible in both black and white background -- selected/unselected).
SVN revision: 46813
- e_widget_aspect has issues when used in toolbook (so we don't use it here).
- Still a couple of TODOs in this:
Respect zone aspect.
Use livethumb for previews.
SVN revision: 46803