Commit Graph

4395 Commits

Author SHA1 Message Date
Davide Andreoli 3d669d1177 * Rename the new function:
e_util_menu_item_fdo_icon_set to e_util_menu_item_theme_icon_set
As it looks for icons in e theme AND in fdo icon themes.
* Use the new function everywere instead of e_util_menu_item_edje_icon_set,
that is now marked as DEPRECATED

You should not see any difference with this commit. With the next few commit I'm
going to rename all the icons in the theme following fdo standard. I will not change
any icons, just rename them to match fdo ones.



SVN revision: 39370
2009-03-04 20:46:05 +00:00
Hannes Janetzek 1f986f4b28 use argb window for drag object when composite is enabled
SVN revision: 39365
2009-03-04 13:04:35 +00:00
Viktor Kojouharov 2c3c2e955c its useful to know if setting a theme has failed
SVN revision: 39361
2009-03-04 12:12:13 +00:00
Gustavo Sverzut Barbieri 8e66ce8605 symlink icons back!
SVN revision: 39357
2009-03-04 03:25:40 +00:00
Gustavo Sverzut Barbieri cb629d5a56 More FDO icons work, now able to choose which one has precedence.
SVN revision: 39355
2009-03-04 02:56:27 +00:00
Gustavo Sverzut Barbieri beaf395663 fdo menu icons now scales.
SVN revision: 39353
2009-03-04 00:39:49 +00:00
Davide Andreoli 0a61c86043 New function e_util_menu_item_fdo_icon_set() and use it
SVN revision: 39349
2009-03-03 20:17:41 +00:00
Gustavo Sverzut Barbieri 43a27176be Fix edje thumbnails.
Please add the following to your /etc/mime.types:

   application/x-edje edj

And the following to your ~/.e/e/config/$PROFILE/e.cfg (see hint below):

   group "mime_icons" list {
     group "E_Config_Mime_Icon" struct {
       value "mime" string: "application/x-edje";
       value "icon" string: "THUMB";
     }
   }

or just remove your settings and choose a newly installed profile.

How to edit your ~/.e/e/config/$PROFILE/e.cfg:

   PROFILE=`eet -x ~/.e/e/config/profile.cfg config /dev/stdout`
   eet -d ~/.e/e/config/$PROFILE/e.cfg config ~/.e/e/config/$PROFILE/e.src
   $EDITOR ~/.e/e/config/$PROFILE/e.src
   eet -e ~/.e/e/config/$PROFILE/e.cfg config ~/.e/e/config/$PROFILE/e.src 1




SVN revision: 39348
2009-03-03 20:17:17 +00:00
Gustavo Sverzut Barbieri a9a0752791 efreet mime types icon cache.
This cache is very simple and should work fine when system does not
change, it keeps a direct association of mime-types and found icons,
remembering theme and icon size. Search is very fast since it uses
stringshared strings and thus direct pointer comparison in hash
search. We could optimize it even more if we assumed stringshared
strings to come in, so no need to eina_stringshare_add() (which is a
hash per se), using just eina_stringshare_ref().

Cache population is limited to compile-time value and just values
older than a given threshold are deleted. I do not keep a LRU explicit
list, so you might have some old but unused items always alive. I
don't find this too bad, sure it will consume more memory, but will
not hurt performance. We can change this to purge all expired items by
not checking for number of items to remove, removing all that match.

Next I plan to find out a good way to cache and speed up file->mime
discovery. I plan to do auto-generated state-machine to match
extensions, so you don't need to check the same extension character
more than once. Example:

   Input: bla.edc
   Extensions: edc edj eps png bmp

It would first try to match against 'e', 'p' and 'b'. It will match
'e' and then check for 'd' (edc or edj) or 'p' (eps). It will match
'd' and then check for 'c' or 'j'. This will reduce number of
comparisons considerably.

As I'm running out of time (4am, not much time left on this month), I
could use some help here.



SVN revision: 39343
2009-03-03 07:20:21 +00:00
Gustavo Sverzut Barbieri 9bc2ce0678 Invert view_flags logic, make it easier to use.
Now flags do not negate, rather specify if things should be used. This
will help us be compatible with original behavior and actually just
e_fwin is using that.



SVN revision: 39340
2009-03-03 04:40:58 +00:00
Davide Andreoli 3200fe1b84 Better use of label and icon for volumes, now everyone (inside e)
can use the same label and the same icon.

Atm the icons in the menu are taken from efreet and thus from
your icon theme...maybe icons found in the E17 theme should
override the system one?



SVN revision: 39337
2009-03-03 01:04:09 +00:00
Davide Andreoli b19ee965ee First step to merge Places module with efm.
* Make the fileman menu as it is in Places module (still need to fix icons)

Just a doubt:
why efm was called using ecore_idle_enterer_add ? it is necessary ? I need to reenable it?

SVN revision: 39335
2009-03-02 22:46:40 +00:00
Viktor Kojouharov 64d51112ed never a good idea to place the popup origin at negative coordinates
SVN revision: 39332
2009-03-02 15:18:42 +00:00
Gustavo Sverzut Barbieri ee2ab9506b fix problem with double directories in virtual devices.
oops, were using realpath and not path!

PS: still segfaults on some cases, related to mouse up callback being
called on already deleted icons, that should not happen as objects are
unrealized before being deleted. Need to investigate.



SVN revision: 39329
2009-03-02 11:55:57 +00:00
Gustavo Sverzut Barbieri 155495866f add e_fm2_view_flags_{get,set}
with these you can opt to ignore things like custom directory options,
very useful for widgets to choose files (e_widget_fsel) since you
don't want them to show your items as 128x128 :-)



SVN revision: 39322
2009-03-02 03:12:43 +00:00
Viktor Kojouharov 2a1c4aaa9c reduce the count on del
SVN revision: 39317
2009-03-01 21:32:09 +00:00
Gustavo Sverzut Barbieri e88de35176 efm: use freedesktop icons from icon theme.
This almost remove need of e_fm_mime.c since it will use efreet, but
may bring some slowdowns due efreet. In this case let's try to
optimize efreet and improve everything.



SVN revision: 39315
2009-03-01 21:06:51 +00:00
Gustavo Sverzut Barbieri 82a8ab89df Major refactor of e_fm2_icon_get() and minor optimizations.
* split e_fm2_icon_get() to make it reuse more code paths.

 * lots of new internal functions with _e_fm2_icon_ prefix are born,
   try to reuse them as much as possible so we have less places to
   change if we move to something else (hint: using FreeDesktop.Org
   icons)

 * optimize e_fm2_icons_update() and few others to do not copy
   sd->realpath all the time, it is loop invariant there.

 * comparison of mime icon "DESKTOP" and "THUMB" are now fast pointer
   comparison since they're all eina_stringshare'd.

 * themes can now differentiate between file types, like 'fifo',
   'socket' or even 'executable'.

 * common extension comparisons are bit faster, not using glob pattern
   matching but rather reusing code to find out last '.' and then
   comparing them in optimal way. I added E_FM2_SIMPLE_STRCASE_FILES
   to make it even faster if one wants, left disabled by now.




SVN revision: 39313
2009-03-01 18:15:44 +00:00
Eric Schuele fcc03a2173 Action to center the focused border.
SVN revision: 39301
2009-03-01 05:15:54 +00:00
Viktor Kojouharov 82404b049e option to restrict mouse desktop flipping if there are fullscreen windows
SVN revision: 39271
2009-02-27 18:36:08 +00:00
Gustavo Sverzut Barbieri b0c84e2215 Fix problems reported by clang.
By: Luis Felipe Strano Moraes



SVN revision: 39263
2009-02-26 22:47:20 +00:00
Carsten Haitzler 089917d8c1 use new efreet api fo extra icon dirs.
SVN revision: 39227
2009-02-26 03:46:59 +00:00
Viktor Kojouharov 9bbc8158bd edge and corner binding infrastructure. If you have an old config, enable the conf_edgebindings module and hit 'Reset to defaults' to get edge desktop switching.
The edge/corner picker needs some love from someone who is not artistically challenged.  And a proper module icon as well.


SVN revision: 39220
2009-02-25 22:21:46 +00:00
Gustavo Sverzut Barbieri 5b0166b41e Enable per-dir theme of rubberband as well.
SVN revision: 39219
2009-02-25 21:06:21 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Gustavo Sverzut Barbieri 59cde6a762 fm: handle symbolic links.
Symbolic links are handled similar to "paste". If you "Copy" you'll
get the "Link" menu item that will create a symbolic link instead of
real copying the file.

Drag and Drop works similarly, use "Alt" in order to get a popup and
select "Link" there.

Toma: we do miss icons for it!

Mekius & Ptomaine: please review as I'm not that familiar with e_fm_op.c



SVN revision: 39170
2009-02-24 05:22:14 +00:00
Jonathan Atton 2ce3410d57 Fixed a bug, the callback was add 2 times in the list -> segfault when the list was destroy
SVN revision: 39061
2009-02-17 17:40:24 +00:00
Jonathan Atton 06e0157912 revert relative and use_relative
SVN revision: 39050
2009-02-16 22:32:34 +00:00
Gustavo Sverzut Barbieri ca8587a631 Oops, fix some bugs introduced with past commits.
SVN revision: 39032
2009-02-16 00:28:51 +00:00
Gustavo Sverzut Barbieri 815441ef2e e_fm: remember directory settings.
e_fm2_custom_file now remembers directory settings, it will save 
position on screen (horizontal and vertical pan percentage), view mode, 
icon size, if to remember ordering and if it should show hidden files.

There is a menu option to remove these settings and inherit settings 
from parent.



SVN revision: 39031
2009-02-15 23:09:09 +00:00
Gustavo Sverzut Barbieri b6e158989f Remove some warnings I introduced with past commits.
SVN revision: 39029
2009-02-15 17:06:49 +00:00
Gustavo Sverzut Barbieri df17ed3ca2 Minor refactor of interfaces, split code and menu callbacks.
Let's make real code interfaces to take a single Evas_Object and menu 
items callbacks should call them.



SVN revision: 39028
2009-02-15 15:25:27 +00:00
Gustavo Sverzut Barbieri 73ed3f89b3 keyboard shortcuts: ^X, ^C and ^V now works.
http://trac.enlightenment.org/e/wiki/Release



SVN revision: 39027
2009-02-15 14:50:30 +00:00
Gustavo Sverzut Barbieri 68461812b1 DONE: fm2 "delete" key needs to... delete.
http://trac.enlightenment.org/e/wiki/Release



SVN revision: 39026
2009-02-15 14:31:09 +00:00
Viktor Kojouharov 6866042369 exec priority configuration
SVN revision: 38952
2009-02-05 13:32:24 +00:00
Carsten Haitzler a03639d55f battery config.... better!
SVN revision: 38920
2009-02-03 12:45:38 +00:00
Carsten Haitzler ca0d7dfcfc profile config now offers reset and is spruiced up to be like the wizard one
supportign the profile.desktop descriptions and icons.



SVN revision: 38872
2009-02-01 01:32:09 +00:00
Carsten Haitzler c1b68e32b2 by popular request - reboot.
SVN revision: 38868
2009-01-31 23:57:32 +00:00
Carsten Haitzler 7576e5a311 move ilist widget filling to a idler... defers a chunk of work to idle time
over a period of time keeping e interactive and usable.



SVN revision: 38836
2009-01-29 06:29:36 +00:00
Gustavo Sverzut Barbieri 740a12d498 Fix by Luis Felipe, Clang errors.
SVN revision: 38816
2009-01-27 17:57:49 +00:00
Massimo Maiurana de865bea3a this way modules categories are really translated
SVN revision: 38763
2009-01-24 21:53:51 +00:00
Massimo Maiurana 57180ee9ac adding some strings to i18n and updating it.po and de.po
SVN revision: 38761
2009-01-24 18:47:07 +00:00
Hannes Janetzek 887264eed4 added e_gadcon_locked_set: with this gadgets can lock the gadcon from
vanishing, like with e_shelf_locked_set. gadcon providers set their own lock 
function with e_gadcon_util_lock_func_set, which is called by 
e_gadcon_locked_set.


SVN revision: 38759
2009-01-24 14:09:37 +00:00
Carsten Haitzler 145fc680ff shorten system action text - simpler. also fix actiosn to be system.
SVN revision: 38698
2009-01-22 20:54:26 +00:00
Carsten Haitzler fd8cb46a11 syscon -> labels!
SVN revision: 38695
2009-01-22 05:41:33 +00:00
Carsten Haitzler a65708abbd clean up wiz
SVN revision: 38694
2009-01-22 04:42:16 +00:00
Gustavo Sverzut Barbieri 1bfaf61168 Re-break gadcon so everything works correctly.
according to raster e_gadcon_canvas_zone_geometry_get() was supposed
to return zone-relative coordinates, but it was implemented
incorrectly and everything now depends on absolute coordinates, so
let's keep it absolute.



SVN revision: 38589
2009-01-15 01:02:32 +00:00
handyande 61801ee22d Fixup compile / link errors with OSX, still having a small issue with the batter module linking, but getting there
SVN revision: 38570
2009-01-13 16:30:37 +00:00
Gustavo Sverzut Barbieri 78c70d7f94 fix sting bugs with e_fm and fileman.
* simplify eina_stringshare usage with _eina_stringshare_replace();
 * do not modify the string in stringshare as in e_fm2_parent_go();
 * use custom_theme_content instead of custom_theme in e_fm2_custom_theme_content_set().

Hopefully this will break nothing, but further analysis if it's
leaking strings in the stringshare should be done.



SVN revision: 38559
2009-01-12 19:52:35 +00:00
Gustavo Sverzut Barbieri f3c5819ff3 gadcon: fix bugs reported by llvm clang static analyser.
Some cases like not having o_base and o_frame are impossible, but I
added the cheap "else return;" just to keep it quiet. But some cases
were really bugs and were fixed.



SVN revision: 38556
2009-01-12 18:31:49 +00:00