Commit Graph

143 Commits

Author SHA1 Message Date
Mike Blumenkrantz 464e311e6c filepreview widget now attempts to show a thumb for file's mime type if file is not an image
SVN revision: 73802
2012-07-13 09:19:35 +00:00
Carsten Haitzler 6188192e4e 1. no more strip/unstrip of path/ld_library_paht - i think we no
longer need or want it.
2. prepend e's bin dir to PATH and lib dir to LD_LIBRARY_PATH for
better "it just works" usability. :)



SVN revision: 73430
2012-07-07 01:41:28 +00:00
Mike Blumenkrantz afa152690c formatting
SVN revision: 72941
2012-06-27 12:19:00 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz f784bff213 replace e17 logging "system" with custom eina log domain
SVN revision: 72089
2012-06-13 15:17:23 +00:00
Cedric BAIL daa7935e0f e: fix potential segv.
SVN revision: 71578
2012-05-31 10:17:31 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +00:00
Hannes Janetzek f276811f8a e17: fix e_utils_config_check, no need to pass both epoch and version
SVN revision: 63029
2011-08-31 12:57:07 +00:00
Hannes Janetzek c3595e9d2b e17:e_util_icon_theme_icon_add return icon of requested size when possible
SVN revision: 62517
2011-08-16 22:47:48 +00:00
Christopher Michael 1a13f8c26f E: Make E work with the new XCB stuffs. This breaks out e_alert into
it's own utility (as per raster's request/idea). Remove explicit
x_clags in Makefile.am(s) as they are no longer needed.

NB: I added some additional libs to the precache stuffs (even tho it's
not used right now). Also a newer e_main (more optimized).

NB: IF you are brave and want to test this, build evas w/ xcb, build
ecore w/ xcb, then rebuild E. Also, disable building opengl in both
evas & ecore (it's not ready for public consumption when paired w/ xcb).



SVN revision: 61680
2011-07-25 09:40:18 +00:00
Christopher Michael 95075ba49d E17: Revert fdo icon searching in different themes. Apparently it
breaks efreet cache (tho I saw no side effects here).



SVN revision: 59332
2011-05-11 13:55:22 +00:00
Christopher Michael 4fb22f6eb3 E17: When searching for an icon in the fdo theme, if we do not find it
in the current theme, check some fallback icon themes (so there is
less chance of a menu item having no icon).



SVN revision: 59314
2011-05-11 05:06:08 +00:00
Hannes Janetzek adccf26b7a e_util_icon_theme_set: use e_icon_scale_size_set to request fdo icon size
SVN revision: 57136
2011-02-17 20:21:02 +00:00
Hannes Janetzek c4401dec20 - remove deprecated e_util_menu_item_edje_icon_set
- change default icon lookup order from 
  user theme > default theme > fdo theme to
  user theme > fdo theme > default theme


SVN revision: 57105
2011-02-16 23:47:06 +00:00
Hannes Janetzek 27915b9db3 set preferred size when loading svg icons
SVN revision: 57018
2011-02-14 14:05:45 +00:00
Gustavo Sverzut Barbieri d374b7ccb8 utility to query for fullscreen in current/all zones.
keeping local count of borders is too error prone, instead query
it. Right now the count is being done for the current zone only, I
guess this is the best policy.



SVN revision: 54793
2010-11-22 15:21:17 +00:00
Sebastian Dransfeld 3d1a299e06 Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Sebastian Dransfeld 5c5e1b82e6 Remove file_set commands
Use fdo icons in e_icon directly instead

SVN revision: 54178
2010-11-05 13:11:41 +00:00
Sebastian Dransfeld 7edb27b105 update ibar icon to match shelf size
SVN revision: 53852
2010-10-25 10:21:14 +00:00
Carsten Haitzler 62862fa56f dont use evas_imaging anymore... and... do svg test the right way.
SVN revision: 51708
2010-08-29 02:25:57 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael 4b6f42d16b Add util function to return count of desktops from a container (used
in wallpaper2 dialog to disable radios).



SVN revision: 50725
2010-08-01 03:15:00 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek d62eb96fb4 added utility function to check module config version and show dialog when required. works with the common VERSION macros.
SVN revision: 48742
2010-05-10 23:44:53 +00:00
Sebastian Dransfeld f098d9df85 Only create edge windows which have bindings
Previously all windows always existed, and edge bindings showed/hided
windows as needed. And e_zone_flip_win_disable/ e_zone_flip_win_restore
f**k'ed this up.

Will fix bug #483 soon.

SVN revision: 45366
2010-01-20 21:30:17 +00:00
Christopher Michael 1bc2b829f2 Use PATH_MAX in e_utils.
Add function in e_utils to get a zone by Ecore_X_Window (black_win).
No need to check for locked in illume-indicator.
Add client message handler for quickpanel to handle zone request changes on
quickpanel borders.
Remove some printfs.
Minor formatting in illume2 e_kbd.
Easier check for focused_vkbd_state.



SVN revision: 45233
2010-01-16 18:40:03 +00:00
Sebastian Dransfeld 286988f003 Fix compiler warnings
SVN revision: 45178
2010-01-15 11:59:58 +00:00
Sebastian Dransfeld 4ebf5160ec Make param const
We never change path, so make it const.

SVN revision: 45051
2010-01-11 20:35:01 +00:00
Christopher Michael 8dbdeb73da Check event handlers are valid before trying to delete them.
Use PATH_MAX.
Fix formatting/whitespace.



SVN revision: 44990
2010-01-08 20:17:07 +00:00
Christopher Michael a245fb11cf e_utils - Use PATH_MAX, not 4096.
e_fm.c - An idler is not a timer. Use proper variable type. Formatting.



SVN revision: 44700
2009-12-23 21:29:36 +00:00
Samuel F. Baggen 6b03d701d5 do not return if we dont have prev_ld_library_path, sometimes we still need to do the next thing
SVN revision: 44658
2009-12-22 16:09:17 +00:00
Gustavo Sverzut Barbieri 0900c11347 'Set as background' mime handler moved to core, refactored.
* Remove 'Set as background' from conf_wallpaper and add it to e_bg
   together with the other code that already was handling
   '*.edj'. This makes more sense and will enable the action in
   presence of both versions of wallpaper dialog;

 * e_utils got pieces required by e_bg that could be used elsewhere,
   one is the dialog to query for options to import, the other is what
   really generates the conversion (import) of image->edj.

 * conf_wallpaper: import thing is way too messy, needs cleaning or
   removal. I don't care much about it as I plan to improve wallpaper2
   instead.



SVN revision: 44556
2009-12-18 22:20:08 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Sebastian Dransfeld 0058ebbc82 Remove unused variables
SVN revision: 43542
2009-11-08 20:27:32 +00:00
Carsten Haitzler 88d2d262e5 1. for some reason the po's needed a lot of updates - msgmerge thiks so
2. use preload for icons a lot.



SVN revision: 43191
2009-10-22 06:47:02 +00:00
Viktor Kojouharov b6ec16d97e hide edge event windows that are not used by any action
put the edge windows on the correct layers
allow edge click bindings
use actions for auto-hide shelves
toggling auto-hide will cause edge event windows to show/hide if necessary


SVN revision: 42864
2009-10-02 20:53:05 +00:00
Hannes Janetzek 460402d3f8 dont use EINA_LIST_REVERSE_FOREACH here
SVN revision: 42638
2009-09-23 06:12:53 +00:00
Hannes Janetzek 327e6d0085 prefer 24px icons for menus. downscaling looks less worse then upscaling. if ok
for everyone, bug http://trac.enlightenment.org/e/ticket/355 can be closed.


SVN revision: 42388
2009-09-10 20:03:17 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Davide Andreoli 6efe302d22 * Also load icons from a given full path, not only by the theme-name.
This fix some (not showed) icons, expecially with the configmenu module.

SVN revision: 41177
2009-06-23 20:52:04 +00:00
Gustavo Sverzut Barbieri b5d5b3378c do not segfault on empty filename to escape.
Avoid case where e_exec (and possible others) gives
e_util_filename_escape() a NULL parameter, actually another bug, but
does not hurt to safe guard this one.

By: manio



SVN revision: 40979
2009-06-09 10:25:25 +00:00
Gustavo Sverzut Barbieri b045f6a244 fix typo.
SVN revision: 40388
2009-04-25 22:12:13 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Gustavo Sverzut Barbieri 855f5080af export function to get useful area of zone.
This should be used by other parts of e17, like window placement.


SVN revision: 40197
2009-04-18 21:44:21 +00:00
Gustavo Sverzut Barbieri 99eb6ec409 better way to calculate good window size.
Instead of blindly use 1/3 of zone, now it will account shelf sizes
and will try some proportions before giving up.



SVN revision: 40179
2009-04-18 18:16:02 +00:00
Gustavo Sverzut Barbieri 1532f064cb use scaled icon size.
SVN revision: 39843
2009-04-03 21:45:33 +00:00
Davide Andreoli 7e1d04f5d0 * Fix e_util_dialog_internal() icon
* Scale better the efm progress



SVN revision: 39784
2009-03-28 22:16:12 +00:00
Davide Andreoli f64a04ec46 Make a new function:
e_util_icon_theme_set(Evas_Object *obj, const char *icon)
to use in place of e_util_edje_icon_set.
The new function (as it works for menu) search the icon in E theme and FDO themes
according to the config option.

SVN revision: 39371
2009-03-04 22:29:23 +00:00
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