Commit Graph

4632 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 04b88fea5f actions to toggle new modes.
SVN revision: 40385
2009-04-25 20:54:12 +00:00
Gustavo Sverzut Barbieri 7120b06df7 proper alignment when there is non-autohide shelves.
SVN revision: 40384
2009-04-25 18:49:39 +00:00
Gustavo Sverzut Barbieri 8f923e67c1 new special case for desklock wallpaper.
desklock now can use the same wallpaper as desktop, this is what I use
and was annoyed to have to remember to change in both places.


SVN revision: 40383
2009-04-25 18:32:34 +00:00
Gustavo Sverzut Barbieri d2be2c99a7 dpms, screensaver and desklock now respect "presentation" mode.
Wow, no need to go to "Settings" and then 3 dialogs to do my presentations!


SVN revision: 40381
2009-04-25 16:49:53 +00:00
Gustavo Sverzut Barbieri 3cbfbd69d9 add "modes" configuration, now "presentation" and "offline".
They are presented as a submenu with check items. Need to implement
support in modules, so they'll check for these variables.

DESIGNERS: could you please provide the following icons:

   * preferences-modes: contain the other icons

   * preferences-modes-presentation: system is in presentation mode,
     no screensaver, locks and dpms will be available.

   * preferences-modes-offline: system is offline, modules that keep
     polling internet services (weather, forecasts, ...) should stop
     and show "I'm offline" emblem. When network systems (network
     manager, connman, exhalt...) are integrated, they will change
     this state as well.



SVN revision: 40375
2009-04-25 16:07:45 +00:00
Chidambar Zinnoury 60244fba6c Try to use FDO icons as some modules (screensaver, for instance) use them.
SVN revision: 40363
2009-04-25 08:03:53 +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
Viktor Kojouharov 6ca152fef8 From: Viktor Kojouharov <vkojouharov@gmail.com>
This little patch adds 'tabs' to the fileman module window. The tabs are
implemented using the toolbar widget. Currently you can add tabs and
switch between them. The only problem right now is that when adding more
than two tabs, the toolbar/scrollbar area is moved off the canvas for
some reason, until the user resizes the window - raster though it might
be a problem with the toolbar widget itself, but he didn't see the
patch, so it might as well be something on my side.



SVN revision: 40306
2009-04-23 02:12:55 +00:00
Christopher Michael 0d71d18f12 Remove redundancy
SVN revision: 40294
2009-04-22 16:47:20 +00:00
Christopher Michael e6be301fed Formatting & whitespace removal.
SVN revision: 40291
2009-04-22 16:08:32 +00:00
Massimiliano Calamelli bdd744efc0 Syscon module
- allow to action buttons to be traslated when the language is changed

Settings panel
- fix compiler warnings
- allow categories and items to be translated when the language is changed
 


SVN revision: 40276
2009-04-21 20:45:38 +00:00
Christopher Michael 2206f3134c Formatting & Whitespace removal
SVN revision: 40273
2009-04-21 17:57:38 +00:00
Christopher Michael b530e3914a Formatting
SVN revision: 40272
2009-04-21 17:53:43 +00:00
Massimiliano Calamelli 9185371532 Fix compiler warnings about attribute warn_unused_result
SVN revision: 40264
2009-04-21 09:51:54 +00:00
Christopher Michael 7481612296 Formatting & whitespace removal
SVN revision: 40259
2009-04-21 02:07:06 +00:00
Christopher Michael 831356e1c9 Formatting
SVN revision: 40255
2009-04-20 21:37:45 +00:00
Gustavo Sverzut Barbieri 496d229e89 don't segfault, by lmunch
SVN revision: 40254
2009-04-20 20:57:02 +00:00
Christopher Michael 4bc2ca60b0 Put comment in correct place...just something I noticed while browsing.
SVN revision: 40250
2009-04-20 17:37:49 +00:00
Iván Briano 9dde4b37b2 White spaces
SVN revision: 40240
2009-04-19 20:18:36 +00:00
Gustavo Sverzut Barbieri c85b67c7c0 remove double-separator for non-resizable dialogs.
SVN revision: 40206
2009-04-19 06:32:28 +00:00
Gustavo Sverzut Barbieri 8b22937367 usability: sort menus, always keep same order.
maybe this is too much for a feature freeze phase, but this is
annoying for users, sometimes your menu looks one way, sometimes
another. Now it will always look the same, alphabetically ordered.

If it breaks anything before Monday revert!


SVN revision: 40205
2009-04-19 06:21:35 +00:00
Gustavo Sverzut Barbieri 3b733a2081 fix some problems with eina_hash usage.
SVN revision: 40204
2009-04-19 05:18:01 +00:00
Gustavo Sverzut Barbieri 69821ee547 proper cleanup on icon/edje failure.
SVN revision: 40201
2009-04-18 23:45:26 +00:00
Gustavo Sverzut Barbieri 84a4e7a5e5 ooops! my mistake with missing parenthesis around math!
SVN revision: 40200
2009-04-18 23:13:33 +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 a16a2e3d73 config modules now have better size.
it will now fit into 640x480 and also will look better since
horizontal size will be a bit bigger.



SVN revision: 40178
2009-04-18 18:14:03 +00:00
Gustavo Sverzut Barbieri 8638cc125a shelf style previews are now smaller
SVN revision: 40169
2009-04-18 14:03:31 +00:00
Carsten Haitzler 4ebb2f6385 -lm -- and printf--
SVN revision: 40168
2009-04-18 13:53:23 +00:00
Carsten Haitzler b592a9176f 1. fix thumb to not use preload thread - i spotted bugs. concurrency ones.
2. also write a sort id (harmless - doesnt affect anything). useful for...
sorting.




SVN revision: 40166
2009-04-18 13:52:24 +00:00
Gustavo Sverzut Barbieri ce2009b32b list of autohide-dependent widgets should not be global.
SVN revision: 40165
2009-04-18 13:47:29 +00:00
Gustavo Sverzut Barbieri c0365b4b2d shelf "shrink to contents" is not related to its size.
SVN revision: 40164
2009-04-18 13:43:05 +00:00
Gustavo Sverzut Barbieri 6c7e4540e2 shelf ignore mouse_out when going to children windows.
this solves an annoyance with systray: the bounce-on-mouse-over (mouse
over systray would make shelf hide, but after the animation starts the
shelf get mouse-in again and abort the hide, then starts again). But
it will introduce another annoyance: if systray open a menu and you
navigate to it, shelf will not get mouse-out event and thus will not
autohide.

I'm leaving this behavior as it is less annoying. I discussed a bit
with rasterman and solving this is not easy, we'd need to poll for
mouse position and query window tree, this would waste cpu and keep
timeout rate high, draining battery.



SVN revision: 40128
2009-04-17 04:56:54 +00:00
Gustavo Sverzut Barbieri 3aae39faec fix shelf autohide after changing its settings in advanced mode.
shelf should be hidden if it was recreated (restart == 1) and autohide
is set.



SVN revision: 40127
2009-04-17 03:15:27 +00:00
Gustavo Sverzut Barbieri b94960c645 fix shelf autohide on zone geometry changes.
when xrandr/xinerama changes zone (screen/output) geometry, the shelf
needs to update its hide_origin and also do hide animation if it was
hidden already.



SVN revision: 40126
2009-04-17 02:54:56 +00:00
Gustavo Sverzut Barbieri 9cc29ad360 fix bug when there is no file extension.
This was spotted by a segmentation faults on systems where sprintf()
don't handle NULL as "%s" (Solaris, BSDs), but it makes no sense to
lookup "*(null)" as extension on Linux either.

Reported by: mcalamell



SVN revision: 40120
2009-04-16 22:17:50 +00:00
Andreas Volz cf1e0172cf usability improvement
-> shrink and autohide widgets are only enabled if checks are set


SVN revision: 40117
2009-04-16 21:03:43 +00:00
Iván Briano e5478eb0e3 Don't leak.
SVN revision: 40100
2009-04-16 04:48:46 +00:00
Carsten Haitzler c5680c811c and handle premapped windows
SVN revision: 40075
2009-04-15 04:52:40 +00:00
Andreas Volz c72e584ebf theme enabled/disabled support for label widget
SVN revision: 40058
2009-04-14 21:18:16 +00:00
Gustavo Sverzut Barbieri e0040cefb9 major cleanup of path creation to $DATADIR and $HOME/.e/e
This cleanup replaces snprintf() usage with specific calls, they have
the benefit of being cleaner (so easier to grep), typing less and also
marginal speed up compared to the other (specially concat_static),
although those are rarely used in critical paths.

I'm testing it for some time and seems to not break anything, but let
me know of any problem. If you can review the patch and try to spot
incorrect names, please do.




SVN revision: 40014
2009-04-13 14:56:38 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Gustavo Sverzut Barbieri 886a0bca01 move batch directory creation to ecore_file.
as suggested by raster, this could be abstracted into ecore-file and
other applications could use it as well.



SVN revision: 39965
2009-04-11 07:10:12 +00:00
Carsten Haitzler 51eff88b13 allow for system startup .orders... not great - but simple.
SVN revision: 39963
2009-04-11 06:20:11 +00:00
Gustavo Sverzut Barbieri 689146ef39 Alternative version for those legacy systems without atfile-source
atfile source is posix 2008, but some legacy systems seems to not ship
with those, in that case use slower version.



SVN revision: 39958
2009-04-11 05:40:18 +00:00
Sergey Semernin 5c62d98898 From: Sergey Semernin <sergey.semernin@gmail.com>
In E_Dialog space key grabbed before than keydown event reach to entry widget
in E_Entry_Dialog.
Thus, I forced ungrab space key in e_entry_dialog_show constructor.
Moreover, I added escape key handling in _e_entry_cb_key_down callback.

I do not delete space key grub in E_Dialog, because, I think, it may be
usefull here, 
when we need selecting controls with space. Or not?




SVN revision: 39936
2009-04-10 14:21:36 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Gustavo Sverzut Barbieri 619ed37fed eina_stringshare_replace() gets in!
I was replicating this code in many places, it should go into eina itself.

It's the right way to change strings that you don't know are
stringshared before, since it will first add a reference and then
remove, making it impossible to have references to go 0 and string
being released before adding new references, fixing the following
possible problem:

   x = eina_stringshare_add("x");
   replace(x, x);

   then:
   incorrect_replace(const char **b, const char *a) {
      eina_stringshare_del(*b); /* reference gets to 0 */
      eina_stringshare_add(a); /* BUG!!! */
      *b = a;
   }




SVN revision: 39903
2009-04-08 18:25:02 +00:00
Christopher Michael 3836c7ba2b Remove erroneous widget_data_get call
SVN revision: 39902
2009-04-08 18:02:27 +00:00
Carsten Haitzler 9b244804e9 add a cmd-line opt to skip format test...
SVN revision: 39891
2009-04-08 08:30:13 +00:00
Daniel Kolesa d2975ac947 Make profiles working again. Thanks to Sachiel for the fix :)
SVN revision: 39889
2009-04-07 18:29:13 +00:00
Viktor Kojouharov 9a303630ae shorten some strings
SVN revision: 39886
2009-04-06 21:22:12 +00:00
Gustavo Sverzut Barbieri d68e3158cf minor speedups.
the e_main.c change might prove useful as it will minimize path
resolution a lot, something that is not that cheap, even more durin e
startup where disc is still spinning due other tasks
starting. HOWEVER, it might bring problems to those using pre
GLibC-2.4 (we're at 2.9 these days) and maybe people using Solaris or
BSD, let's see if they have any trouble.



SVN revision: 39880
2009-04-06 12:59:58 +00:00
Christopher Michael 9533dd4543 Formatting, Whitespace Removal, Remove useless return in one function,
Initialize variables to NULL.


SVN revision: 39872
2009-04-05 17:07:18 +00:00
Christopher Michael 794ef7748f Formatting
SVN revision: 39870
2009-04-05 16:58:49 +00:00
Carsten Haitzler cbe9342be3 for e_thumb.. use preload!
SVN revision: 39866
2009-04-05 03:49:16 +00:00
Davide Andreoli ffd353ac39 * E_Fwin:
Ctrl+w -> close the window
Ctrl+a -> select all



SVN revision: 39865
2009-04-05 00:26:31 +00:00
Christopher Michael 6d1cdc0e47 Remove silly return at end of function.
SVN revision: 39861
2009-04-04 19:40:00 +00:00
Carsten Haitzler 634485d2bc and properly hide windows that ask to be iconified on start!
SVN revision: 39853
2009-04-04 07:18:55 +00:00
Davide Andreoli 3553055573 Scale dialogs icons with e_scale
SVN revision: 39846
2009-04-03 22:05:18 +00:00
Gustavo Sverzut Barbieri 1532f064cb use scaled icon size.
SVN revision: 39843
2009-04-03 21:45:33 +00:00
Viktor Kojouharov 3805af7fcc files can now be dragged over destination files (not just subdirs). In that case, the source file will be sent to the directory that houses the dest file. No more seggies
SVN revision: 39829
2009-04-01 17:03:09 +00:00
Viktor Kojouharov e33ba2d5f0 ctrl+n duplicates the current fwin
SVN revision: 39826
2009-04-01 08:28:21 +00:00
Cedric BAIL c1363b97e3 * e_box: Prevent the reuse of a free memory adress.
SVN revision: 39821
2009-03-31 16:05:05 +00:00
Davide Andreoli 0f1775c8e8 Attach the fm object pointer to the menu generated from the efm.
So you can read the fm object if you hook into the menu.



SVN revision: 39803
2009-03-30 14:31:54 +00:00
Davide Andreoli f71eea73b2 * Add a new menu api call :
EAPI void
e_menu_item_disabled_set(E_Menu_Item *mi, int disable)

Setting the menu item 'disabled' will gray it out and will make it unselectable.



SVN revision: 39802
2009-03-30 13:59:56 +00:00
Davide Andreoli 95de5b13a2 * e_fm_operation_registry : Add a new api call: EAPI int e_fm2_op_registry_count(void)
* Add the new simple module fileman_opinfo

The module provide a gadget that show the efm operations in progress. It is just a button
with a dynamic label atm, a better interface to come...

To compile the module you need to add it to configure.ac and src/modules/Makefile.am ... I have those
files too much hacked atm to commit :P

k-s: can you commit the 2 files for me please? just add the new module.

Hope you like it
Dave



SVN revision: 39794
2009-03-29 15:33:26 +00:00
Davide Andreoli 1bfc6fd633 * Better dialogs (rename, overwrite etc) for efm
SVN revision: 39788
2009-03-29 01:24:11 +00:00
Davide Andreoli 44883d6cf0 * e_fm_op_registry : rename duration to eta
* e_fm_op : report sizes (done and total) now refer to the whole task, not the single file
 * e_fwin : better operation monitor label (and add a delay on delete)



SVN revision: 39787
2009-03-29 00:26:43 +00:00
Davide Andreoli c6a575a15f another enlightenment/error icon reference (that icon never exists :/ )
SVN revision: 39785
2009-03-28 22:18:17 +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
Gustavo Sverzut Barbieri 2dde72e9f8 oops, missing free.
SVN revision: 39783
2009-03-28 21:40:33 +00:00
Gustavo Sverzut Barbieri 092f3e4974 turn off composite on segfault.
one of the most annoying problems while using bling is that when E
segfaults it will launch an alert window, but since composite manager
is using the same process/connection as e17, it will not die and e
will not compose as required, so you basically end with a black
screen.

this patch will forcely turn off manual redirection and you'll get the
white-screen-of-death, being able to restart e17.

future: if we really do composite in e18, then please handle this in a
better way.



SVN revision: 39741
2009-03-27 02:23:13 +00:00
Christopher Michael bf4237f22c Remove this because it's just silly.
SVN revision: 39722
2009-03-26 00:47:36 +00:00
Christopher Michael 1987894874 Fix some formatting (still a lot more to fix). Remove whitespace. Make
sure int variables are initialized to a value.


SVN revision: 39699
2009-03-24 21:11:03 +00:00
Christopher Michael 474463ef6c Add missing menu_realize for POP_DIRECTION_RIGHT.
SVN revision: 39698
2009-03-24 20:13:50 +00:00
Viktor Kojouharov 30b11d23c8 add a urgent show function on the gadcon level and use that
(p.s. it's a good idea to recompile any extra module that you might use)


SVN revision: 39686
2009-03-24 16:08:37 +00:00
Christopher Michael 0f501d7228 Remove useless variable in ecore_evas_resize callback. No reason to
fetch data if it's not going to be used.


SVN revision: 39660
2009-03-24 00:20:38 +00:00
Carsten Haitzler 834952304f ghost windows-- ?
SVN revision: 39655
2009-03-23 13:39:24 +00:00
Carsten Haitzler 7657cb3644 lost windows.. back!
SVN revision: 39652
2009-03-23 13:04:02 +00:00
Gustavo Sverzut Barbieri 3475cb81c5 eina macros in menu loops
SVN revision: 39651
2009-03-23 12:28:15 +00:00
Viktor Kojouharov fb323cef74 temporarily show the shelf on urgent windows (ibox)
SVN revision: 39649
2009-03-23 12:14:31 +00:00
Gustavo Sverzut Barbieri 811f193535 use safe version to free sub menus.
SVN revision: 39648
2009-03-23 11:46:14 +00:00
Carsten Haitzler bf37a93c2e more leak--!
SVN revision: 39646
2009-03-23 10:19:13 +00:00
Carsten Haitzler 2e36885899 nuke segv in fm and leaks in menus.
SVN revision: 39644
2009-03-23 09:36:11 +00:00
Carsten Haitzler a5de46f4c2 use new timer add func - for when u want the timer to be relative to the loop
tick time - not "now".



SVN revision: 39639
2009-03-23 02:14:10 +00:00
Viktor Kojouharov 6927a37b23 normalize away spurious percent arguments in the executable
SVN revision: 39608
2009-03-21 11:48:45 +00:00
Viktor Kojouharov d19e0ba2dc exehist exe normalization
SVN revision: 39602
2009-03-20 19:05:27 +00:00
Gustavo Sverzut Barbieri 377a9332df export api to be used in e_sys_action and other places.
use this call in order to check for existing on-going operations.



SVN revision: 39595
2009-03-20 00:57:57 +00:00
Cedric BAIL 74c6251db7 * e_actions: Use some eina macro.
SVN revision: 39591
2009-03-19 19:03:35 +00:00
Cedric BAIL 9865485664 * Ecore_Input: Make it generic.
SVN revision: 39577
2009-03-19 13:06:16 +00:00
Gustavo Sverzut Barbieri 51fe41f439 have all exits and restarts to use e_sys_action_do()
SVN revision: 39569
2009-03-19 02:08:09 +00:00
Gustavo Sverzut Barbieri 3a79d6a21e fix drag&drop of multiple files and reduce variables scopes.
SVN revision: 39568
2009-03-19 01:45:58 +00:00
Gustavo Sverzut Barbieri b382153c0f move loop invariant sprintf() outside loop.
SVN revision: 39567
2009-03-19 00:50:35 +00:00
Gustavo Sverzut Barbieri 9a882b5124 enjoy stringshare benefits.
SVN revision: 39566
2009-03-19 00:36:12 +00:00
Gustavo Sverzut Barbieri b34c8995b9 proper cleanup of drop_handlers.
SVN revision: 39565
2009-03-19 00:19:12 +00:00
Gustavo Sverzut Barbieri 00e98a4851 cleanup memory usage, add stringshare, fix bug.
* h->active_type was referring to xdnd->type, that could be freed
   already. Now it's a reference to that string.

 * strcmp() are now direct pointer comparison since strings are shared.

 * no more extra "types" allocated member, make it a variable array at
   the end of the structure.



SVN revision: 39564
2009-03-19 00:14:57 +00:00
Gustavo Sverzut Barbieri 375f695e8f constness
SVN revision: 39562
2009-03-18 23:39:03 +00:00
Gustavo Sverzut Barbieri 9429c53cf1 move loops to eina macros.
SVN revision: 39561
2009-03-18 23:34:29 +00:00
Cedric BAIL 1ef42062db * e_theme: Cleanup and use sorted list for faster looking.
SVN revision: 39551
2009-03-18 16:49:20 +00:00
Gustavo Sverzut Barbieri 15b8d85967 e_fm_op: fix simpe operations report.
SVN revision: 39549
2009-03-18 14:07:34 +00:00
Gustavo Sverzut Barbieri e636f913c5 e_fm_op: cleanup and fix memory leaks.
* reduce variable scope to avoid bugs.

 * add missing free(d)

 * move invariant snprintf() out of loop



SVN revision: 39548
2009-03-18 14:06:22 +00:00
Gustavo Sverzut Barbieri ae0aa2ed8b less noise/debug.
SVN revision: 39547
2009-03-18 14:00:45 +00:00
Gustavo Sverzut Barbieri 92cab40cda add filemanager operation registry.
This huge commit will add e_fm2_op_registry, a central place that will
store all on-going operations. You will find that it will report when
operations are added, remove and when they change, for example when
they change progress.

Please notice that the recommended way to present information is to
add listener to specific entries, as opposed to use
E_EVENT_FM_OP_REGISTRY_CHANGED since it will be called immediately and
you do not have to filter which entry is being changed.

Entries will be associated with the e_fm object that originated
it. With that one can get the Ecore_X_Window and request the window to
be raised from somewhere else (ie: gadman/gadget). If object is
deleted (ie: window is closed), the pointer will be made NULL and it
will be a "windowless operation".

TO DO (I need someone to do those):

  - e_fwin: windows should present on-going operations as an overlay,
    Dave Andreolli already started such work, it's just a matter of
    using the new infrastructure.

  - create a new gadget that present all on-going operations and maybe
    a history. It would be nice to show the e_fwin of if the entry is
    clicked, as well as a cancel button and a progress bar. See
    "places" module, make them similar.




SVN revision: 39541
2009-03-18 01:33:06 +00:00
Hannes Janetzek 4598a292ed use ECORE_EVENT_MODIFIER
SVN revision: 39538
2009-03-17 21:55:33 +00:00
Hannes Janetzek 43fbd47070 added: _e_fm2_icon_next_find function used in _e_fm2_icon_sel_prev/next and _e_fm2_typebuf_match
- _e_fm2_typebuf_match has the new argument 'next'; one can now go to the prev/next match with up/down keys while typebuffer is active 


SVN revision: 39534
2009-03-17 19:49:12 +00:00
Viktor Kojouharov 7626cc04eb sorted exehist
SVN revision: 39533
2009-03-17 19:39:14 +00:00
Cedric BAIL e6d3c12f76 e/keybinding: Some cleanup using more Eina feature.
SVN revision: 39527
2009-03-17 13:58:38 +00:00
Hannes Janetzek 5f212bd64c some efm work:
- up/down key navigation for grid mode
- fixed next/prev functions for custom grid
- use 'key' instead of keyname


SVN revision: 39514
2009-03-17 01:40:50 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Christopher Michael 590137f924 Fix up some formatting
SVN revision: 39499
2009-03-15 19:26:09 +00:00
Christopher Michael 30936df4a3 Fix "return with no value in function returning non-void"
SVN revision: 39498
2009-03-15 19:22:37 +00:00
Christopher Michael be28e1636b Formatting & Whitespace fixes. Also, don't segfault when removing menus.
SVN revision: 39497
2009-03-15 19:12:50 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Hannes Janetzek 2422e04b20 delete submenus of main menu afterwards. this fixes the issue with borders
not getting unreffed


SVN revision: 39494
2009-03-15 17:06:18 +00:00
Cedric BAIL c979b3f9d5 * e_widget_ilist_add now expect a stringshare.
SVN revision: 39447
2009-03-11 15:13:42 +00:00
Cedric BAIL 3c9f7d712c * e_ilist.c: Reduce list walk.
SVN revision: 39446
2009-03-11 15:12:33 +00:00
Cedric BAIL 72d23b4b0c * e_widget_ilist.c: Ok, this is a quick fix (disable queue for now). A better fix would
be to propagate the delete operation to e_ilist.c and mark the selected entry to be
	deleted and update code listing selected item to not return to be deleted item.

	NOTE: Is it really usefull ? Doesn't evas/edje delay the destruction of Evas_Object anyway ?



SVN revision: 39445
2009-03-11 13:16:01 +00:00
Viktor Kojouharov 4c31250530 this option is more suitable for all actions, not just the desk flip one
SVN revision: 39442
2009-03-10 21:34:41 +00:00
Cedric BAIL 8eef516595 * e_configure.c: Use EINA_LIST_FOREACH.
SVN revision: 39433
2009-03-10 16:19:02 +00:00
Cedric BAIL 65e6e035c0 * e_configure.c: White space removal and more indent.
SVN revision: 39432
2009-03-10 16:16:42 +00:00
Cedric BAIL 1117cb228d * e_configure.c: Fix indentation.
SVN revision: 39431
2009-03-10 16:14:24 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Viktor Kojouharov 4d1fea4705 add fullscreen state remember
SVN revision: 39414
2009-03-08 10:35:05 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Davide Andreoli dea8871acd Fix icon in dialogs
SVN revision: 39398
2009-03-06 19:30:29 +00:00
Davide Andreoli 1101c58d9f more icons renamed
SVN revision: 39396
2009-03-06 19:17:12 +00:00
Hannes Janetzek ee1a0e9220 remove redundant case from last commit
SVN revision: 39390
2009-03-06 08:32:57 +00:00
Hannes Janetzek 72b7a4bff1 shelf: fix autohide bug in last commit
SVN revision: 39389
2009-03-06 08:25:33 +00:00
Hannes Janetzek 2270cc87bd hide shelf also on mouse out triggered by deskflip
SVN revision: 39388
2009-03-06 07:48:27 +00:00
Hannes Janetzek 3966901163 shrink the shelf dialog a little
SVN revision: 39387
2009-03-06 02:07:51 +00:00
Hannes Janetzek 71458465fb shelf: fixed size of style selector, better fitting var name
SVN revision: 39386
2009-03-06 01:56:09 +00:00
Hannes Janetzek 640e4c6d55 shelf: small update to last commit
SVN revision: 39385
2009-03-06 00:33:49 +00:00
Hannes Janetzek e94484b0d1 refactored shelf autohide animation code
SVN revision: 39384
2009-03-05 23:49:01 +00:00
Davide Andreoli fc66fc7c73 More icon renamed, for more info look at default.edc (around line 22650). I'm keeping there a mapping between e old names and fdo ones.
SVN revision: 39374
2009-03-05 02:39:50 +00:00
Davide Andreoli 2904ca6d46 ICON: enlightenment/themes -> preferences-desktop-theme
SVN revision: 39373
2009-03-04 23:53:28 +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
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