Commit Graph

5007 Commits

Author SHA1 Message Date
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 c3a71f394d make clang happy
SVN revision: 45184
2010-01-15 12:01:52 +00:00
Sebastian Dransfeld f67a69f161 Fix compiler warnings
SVN revision: 45183
2010-01-15 12:01:40 +00:00
Sebastian Dransfeld 6a6d1eab77 Remove unused function
SVN revision: 45182
2010-01-15 12:01:30 +00:00
Sebastian Dransfeld 68f785d92f Fix compiler warnings
SVN revision: 45181
2010-01-15 12:01:17 +00:00
Sebastian Dransfeld bdb1f669e6 Fix compiler warnings
SVN revision: 45180
2010-01-15 12:01:06 +00:00
Sebastian Dransfeld 8ff570beb2 Remove unused variable
SVN revision: 45179
2010-01-15 12:00:55 +00:00
Sebastian Dransfeld 286988f003 Fix compiler warnings
SVN revision: 45178
2010-01-15 11:59:58 +00:00
Sebastian Dransfeld 78b294c4a8 make clang happy
SVN revision: 45176
2010-01-15 11:29:50 +00:00
Carsten Haitzler 79dcd015f8 lots of work on compositor stuff. looking slick and nice internally too.
SVN revision: 45159
2010-01-15 04:41:20 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Sebastian Dransfeld 87f1bcb0ed remove unused variables
SVN revision: 45152
2010-01-14 23:48:48 +00:00
Sebastian Dransfeld 6136509b9f make clang happy
x and y are used later and might be garbage

SVN revision: 45150
2010-01-14 23:48:26 +00:00
Sebastian Dransfeld 6e96d85186 free list
SVN revision: 45139
2010-01-14 22:10:38 +00:00
Sebastian Dransfeld de275b5a85 Make selected desktops show in advanced config
e_widget_ilist_count does not work as it did, as it
e_widget_ilist_multi_select only queues commands and the change is not
instant. Add own counter for ilist position.

Also set pointer for config desk_list to new list on apply.

SVN revision: 45138
2010-01-14 22:10:28 +00:00
Sebastian Dransfeld 91a1ce39cb formatting
SVN revision: 45137
2010-01-14 22:10:17 +00:00
Sebastian Dransfeld 2392772af4 formatting
SVN revision: 45136
2010-01-14 22:10:00 +00:00
Sebastian Dransfeld 44b1509345 Fix "selected" emit
Only emit "selected" on mouse up if we are in single click mode and no
modifiers is set.
Need to check for single_click first, so that inplace_open isn't called
on doubleclick.

Fixes ticket 375

SVN revision: 45130
2010-01-14 20:55:04 +00:00
Christopher Michael dec35ad102 When creating the canvas for a zone, use the zone->x & zone->y as canvas
position rather than always at zero/zero.



SVN revision: 45116
2010-01-14 18:24:14 +00:00
Christopher Michael df9e501b10 No point in running find_by_client_window here, we don't use the border
anyway.



SVN revision: 45057
2010-01-12 03:33:34 +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
Carsten Haitzler dc87e6da83 s = NULL
SVN revision: 45027
2010-01-11 00:50:14 +00:00
Carsten Haitzler bbd8bddc1e try and be more robust on profile.cfg load.
SVN revision: 45014
2010-01-10 16:25:26 +00:00
Carsten Haitzler 74e89eba71 comments++
SVN revision: 44999
2010-01-09 01:01:56 +00:00
Carsten Haitzler 4ed5747b83 dont show ecore-evas of internal windows b4efore border evals! do it there!
SVN revision: 44995
2010-01-08 23:08:07 +00:00
Sebastian Dransfeld f62b54b960 Strip file:// from uri
SVN revision: 44991
2010-01-08 20:26:55 +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
Sebastian Dransfeld b2beb53360 Split evas from ecore_input
SVN revision: 44957
2010-01-07 19:26:52 +00:00
Carsten Haitzler dfd5f13aee make alerts work with composite managers in modules.. so if we segv... we can
see it and recover etc. - requires module compmgr to "do the right thing" and
advertise the composite window.



SVN revision: 44924
2010-01-06 15:04:33 +00:00
Christopher Michael ffaef6196d When setting gadcon zone, record the zone id in config struct. (There was a
placeholder for it, but never got filled).
Fix some formatting while I am in here.



SVN revision: 44914
2010-01-05 22:06:47 +00:00
Christopher Michael 56178c136b Use e_scale when calculating window width/height.
SVN revision: 44907
2010-01-05 05:28:05 +00:00
Christopher Michael 9d4f41fe94 Use PATH_MAX instead of 4096.
Fix some formatting issues.



SVN revision: 44897
2010-01-04 21:39:07 +00:00
Gustavo Sverzut Barbieri 75856e21ea Add various missing libraries linkages, by Lutin.
SVN revision: 44889
2010-01-04 19:37:06 +00:00
Christopher Michael f435c770e4 Add illume atoms to e_border struct.
Add code to fetch illume atoms on border map & property changes (if needed).
    - This avoids a lot of round-trip calls to X when running illume2.
Remove whitespace & fix some formatting.
Use PATH_MAX instead of 4096.
Update illume2 code to use new border atoms and avoid round-trip X calls.



SVN revision: 44879
2010-01-04 18:15:56 +00:00
Christopher Michael 46387d608c Remove wasted whitespace. Fix some formatting.
SVN revision: 44835
2009-12-31 22:45:34 +00:00
Iván Briano 1c2ba52eb4 Add Move and Resize to the border menu.
SVN revision: 44820
2009-12-31 03:34:27 +00:00
Christopher Michael 694a80290f Fix nasty formatting.
Remove whitespace.
Use -1 for eina_list_sort (saves a function call to eina_list_count).



SVN revision: 44801
2009-12-30 18:24:37 +00:00
Christopher Michael b5981c8e58 Fix function prototype...no idea how this even compiled all this time.
SVN revision: 44749
2009-12-28 18:01:39 +00:00
kiwi 525ce104cf if a change was made in basic/advanced mode, the ok/apply button should be enabled when you go back to that mode
ok barbieri


SVN revision: 44746
2009-12-28 08:19:52 +00:00
kiwi 0e14736338 avoid duplicate widget_change() on check/uncheck
ok barbieri


SVN revision: 44745
2009-12-28 08:14:17 +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
Christopher Michael 69581f2d37 A poller is not a timer. Use proper variable type, and proper delete function.
SVN revision: 44689
2009-12-23 14:04:22 +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
Christopher Michael 0007331545 Check that zone exists first before trying to use it.
No need to set border zone twice here.



SVN revision: 44640
2009-12-21 20:54:09 +00:00
Christopher Michael 3f6dd189c8 Formatting.
Remove whitespace.



SVN revision: 44620
2009-12-21 04:07:44 +00:00
Vincent Torri 7e7e0a8a55 fix last void * arith
SVN revision: 44562
2009-12-19 08:39:11 +00:00
Carsten Haitzler 672d1de1e3 fix more void * arith!
SVN revision: 44560
2009-12-19 00:15:16 +00:00
Carsten Haitzler 7c650aaa62 dont use void *'s and poitner arithmetic! char * is what was intended
SVN revision: 44558
2009-12-18 23:53:39 +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
Vincent Torri 7c1f80aefe declare alloca where needed and make it portable
SVN revision: 44544
2009-12-18 13:52:23 +00:00
Vincent Torri 905a80f421 redefine static inline functions to normal functions
SVN revision: 44539
2009-12-18 12:31:24 +00:00
Gustavo Sverzut Barbieri 8a8025c6d8 e_bg: improvements and start import process (unfinished!)
I ran out of time, so if someone wants to finish the move of
e_int_config_wallpaper_import.c to standard e_bg.c I appreciate the
help. Skeleton is there.

With this, it is possible to remove code from conf_wallpaper and have
that functionality in both wallpaper and wallpaper2.



SVN revision: 44527
2009-12-17 23:05:51 +00:00
Gustavo Sverzut Barbieri 9710ec6536 e_bg: delete trailing whitespace.
SVN revision: 44526
2009-12-17 21:59:23 +00:00
Christopher Michael 068ac54414 Remove a printf.
SVN revision: 44503
2009-12-16 03:08:54 +00:00
Christopher Michael ea55ee51a0 No need to release grabinput twice. This was already done a few lines above.
SVN revision: 44479
2009-12-16 00:43:29 +00:00
Christopher Michael 8d1cc9b70c Formatting.
SVN revision: 44357
2009-12-11 09:36:07 +00:00
Christopher Michael c837af137b Don't NULL out exe here (this was causing a lot of quiet errors wrt
ecore_exe_pid_get because inst->exe was NULL).



SVN revision: 44267
2009-12-07 23:55:01 +00:00
Christopher Michael 3cb7d0f0e1 Fix up some formatting.
SVN revision: 44233
2009-12-07 01:55:18 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Sebastian Dransfeld 8a2f2981ed Fix Ticket #306
After we send the drop to the target it can take a while before it is
acknowledged. So release grab and hide input window so we can continue
working.

SVN revision: 44223
2009-12-06 18:03:35 +00:00
Christopher Michael fc7e636c1f just some formatting I noticed while reading code.
SVN revision: 44205
2009-12-05 23:36:42 +00:00
Vincent Torri f6b0251f3a 'return' not needed here
Patch by Andreas Nilsson

SVN revision: 44064
2009-11-30 19:10:35 +00:00
Vincent Torri 13807df5a3 'return' not needed here
SVN revision: 44058
2009-11-30 18:22:42 +00:00
Christopher Michael 2a7f105194 If CLANG needs this return there, then don't create o_control until after in
case we do actually hit this return.



SVN revision: 43967
2009-11-25 01:10:11 +00:00
Christopher Michael fc8c5cac0d Add illume-indicator module to configure.ac
Some formatting in e_gadcon/e_shelf.



SVN revision: 43966
2009-11-25 01:02:11 +00:00
Christopher Michael 09edadd2a5 Use MENU_POP_DIRECTION_AUTO instead of DIRECTION_DOWN.
SVN revision: 43960
2009-11-24 21:17:18 +00:00
Christopher Michael ad4fcc5a6a Formatting. Remove unused variables.
SVN revision: 43956
2009-11-24 19:19:21 +00:00
Christopher Michael 981617d697 Formatting.
SVN revision: 43955
2009-11-24 19:08:41 +00:00
Christopher Michael 9c4e3ae13e Formatting.
SVN revision: 43954
2009-11-24 19:00:52 +00:00
Christopher Michael 2f4aa190da Eina is not needed as an include here, it's already in e.h
SVN revision: 43846
2009-11-20 19:35:26 +00:00
Carsten Haitzler e56d4b1623 remove 2 pointless stacks. evas smart obj chiuldren are stacked withint the obj
SVN revision: 43705
2009-11-15 13:20:22 +00:00
Vincent Torri 7d66c87e9d Check backtrace_symbols_fd() availability for e_signal.c
Should help the BSD guys (though OpenBSD seems to need a
flag passed in LDFLAGS to be happy. Strange...)


SVN revision: 43623
2009-11-11 21:04:21 +00:00
Sebastian Dransfeld 2772a99002 Use #if 0 to comment out code
SVN revision: 43545
2009-11-08 20:28:02 +00:00
Sebastian Dransfeld 6149093530 Fix warning by adding parentheses
SVN revision: 43544
2009-11-08 20:27:53 +00:00
Sebastian Dransfeld 3d3c4b41d5 Don't test for null on non pointer variable
SVN revision: 43543
2009-11-08 20:27:42 +00:00
Sebastian Dransfeld 0058ebbc82 Remove unused variables
SVN revision: 43542
2009-11-08 20:27:32 +00:00
Carsten Haitzler 50b38677d5 inst->exe is null if exe exited. it will be deleted by ecore, so cant keep it
around.



SVN revision: 43405
2009-11-02 02:51:21 +00:00
Carsten Haitzler 88904fce02 i could have sworn i disabled this! disable again.
SVN revision: 43404
2009-11-02 01:18:26 +00:00
Christopher Michael d246d2e257 Fix some formatting problems.
SVN revision: 43320
2009-10-27 21:50:21 +00:00
Christopher Michael 41cbc02380 Fix compiler warnings & adjust some formatting.
SVN revision: 43315
2009-10-27 17:51:19 +00:00
Christopher Michael 4a879c6a2e Fix compiler warnings.
SVN revision: 43314
2009-10-27 17:44:28 +00:00
Christopher Michael b5a060523e Formatting.
SVN revision: 43313
2009-10-27 17:42:45 +00:00
Christopher Michael 1ad763572e Remove compiler warning about deprecated eina_error_print.
SVN revision: 43311
2009-10-27 17:38:34 +00:00
Christopher Michael b6ff4d6da1 Fix compiler warnings.
SVN revision: 43310
2009-10-27 17:33:56 +00:00
Christopher Michael 70026fb099 Fix compiler warning.
Formatting.


SVN revision: 43309
2009-10-27 17:23:46 +00:00
Christopher Michael 5970c2685d Remove a bunch of wasted whitespace.
Fix some formatting.
Fix compiler warning wrt e_icon.



SVN revision: 43275
2009-10-25 18:42:47 +00:00
Hannes Janetzek ad1669b3ec keep windows in current zone when it requests to be outside an existing zone
SVN revision: 43271
2009-10-25 15:58:19 +00:00
Carsten Haitzler bcd35dad89 and stage 2 of removing ipc handlers.. actually remove them!
SVN revision: 43270
2009-10-25 15:55:11 +00:00
Carsten Haitzler 119b8d8b93 disable gdb. toruble-maker.
SVN revision: 43223
2009-10-23 00:56:41 +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
Carsten Haitzler d3a89ab1ce allow menu actions if unknown type too. believe it or not not every app sets
netwm hints.



SVN revision: 42946
2009-10-08 00:11:07 +00:00
Hannes Janetzek e1cc6272b3 revert: motif_wm_hints does not belong in _net_supported hints
SVN revision: 42931
2009-10-07 11:27:15 +00:00
Hannes Janetzek e77e141e7a fake to be mwm
SVN revision: 42895
2009-10-05 19:34:35 +00:00
Hannes Janetzek ba866897a5 add motif wm hints to supported porperties
SVN revision: 42888
2009-10-05 15:43:46 +00:00
Hannes Janetzek 5205ef0ec3 remember windows after initialization
SVN revision: 42883
2009-10-05 03:05:50 +00:00
Hannes Janetzek 984c884fd6 fix pending_mode_resize
SVN revision: 42882
2009-10-05 03:05:10 +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 cf7cfc3b58 cleanups and updated comment on sync.wait
SVN revision: 42837
2009-10-01 10:22:27 +00:00
Carsten Haitzler 09c4596276 from jeffdameth: fix sync protocol handling - re-enable it.
SVN revision: 42834
2009-10-01 08:45:24 +00:00
Hannes Janetzek 46c1c6000b fix unmaximize in smart and fill mode.
- move policy handling of move/resize to the externally accessible functions


SVN revision: 42751
2009-09-28 01:48:26 +00:00
Hannes Janetzek 0033fecdef reduce continous debug output for deleted borders
SVN revision: 42746
2009-09-27 22:22:39 +00:00
Hannes Janetzek 1321020294 - fix 'maximize fullscreen' action
- allow any maximized windows of any type to be manipulated when allow_manip is set
- remove 'maximize expand' option from config gui. this is the same as 'maximize smart'
- dont restirct iconify of fullscreen borders. this is policy that can be (and is) 
  restricted by gui.


SVN revision: 42735
2009-09-26 22:45:09 +00:00
Hannes Janetzek 92476b7b85 fix segv in internal window restore code
SVN revision: 42690
2009-09-25 06:24:48 +00:00
Hannes Janetzek 8cc27a9ec8 - focus new window when it's the only one on current desk
- fix resizing by moveresize_request


SVN revision: 42681
2009-09-24 18:23:40 +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 7cb9d3a362 EINA_FUCK_REVERSE_FOREACH != for (l = some_pointer_in_list_from_where_want_to_start; l; l = l->prev)
anyway nice that i didnt had to rewrite gadcon layout to fix this issue,
but at least starting the rewrite made me realize the above mentioned 
difference. moving and resizing of gcc in non-shrinked mode works 
now nicely again.


SVN revision: 42637
2009-09-23 06:06:13 +00:00
Gustavo Sverzut Barbieri 58a1c3125a e_hal_init/shutdown
SVN revision: 42633
2009-09-23 00:08:43 +00:00
Hannes Janetzek d165e9b349 forgotten parentheses
SVN revision: 42613
2009-09-22 00:08:54 +00:00
Hannes Janetzek a00d0cbf16 --printf
SVN revision: 42611
2009-09-21 23:03:33 +00:00
Hannes Janetzek 55094ac919 append params for dialog to configpath with '::' so the config path MUST not include '::'. e.g. use 'extenstions/shelves::$ID' to start the config dialog for a shelf with id $ID
SVN revision: 42610
2009-09-21 23:02:37 +00:00
Hannes Janetzek 91211ef9c4 reopen fileman and dialog windows after restart of e.
- modules using e_configure_registry_add must be modified to 
  use registry path as window class for this to work
- fileman now uses e_remember to remember position instead of 
  handling it separately
- added option to window remember for remembering dialogs and 
  fileman windows automatically


SVN revision: 42607
2009-09-21 20:36:35 +00:00
Hannes Janetzek 74c9efaa78 fix warnings
SVN revision: 42606
2009-09-21 20:19:14 +00:00
Hannes Janetzek 57c6db0e8f fix warnings
SVN revision: 42605
2009-09-21 20:07:28 +00:00
Samuel F. Baggen 06137c9655 enlightenment_remote replaced by a working interface with using callbacks
SVN revision: 42590
2009-09-21 03:25:31 +00:00
Hannes Janetzek ff240cb1f2 fix warnings
SVN revision: 42570
2009-09-19 22:55:35 +00:00
Hannes Janetzek 576fde7759 remember internal windows again
SVN revision: 42569
2009-09-19 17:35:18 +00:00
Hannes Janetzek 273a513b04 e_border use e's macros for calloc/free
SVN revision: 42568
2009-09-19 17:08:34 +00:00
Hannes Janetzek 5d0fe47535 fix last commit: do not add pending move when doing only resize
SVN revision: 42567
2009-09-19 16:51:37 +00:00
Hannes Janetzek 2f92b4a7ff e_border: remove maximized state when maximized window is moved or resized
- merge _e_border_resize_internal with _e_border_move_resize_internal


SVN revision: 42566
2009-09-19 16:26:16 +00:00
Hannes Janetzek 484b32f3f0 gadcon: gadcon clients move now _with_ the mouse in shrinked mode
SVN revision: 42543
2009-09-17 09:03:13 +00:00
Hannes Janetzek 36bf931eda gadcon: get right mouse position for efm gadcon..
SVN revision: 42540
2009-09-17 05:41:23 +00:00
Hannes Janetzek 5cee246020 gadcon:
- fix dnd of gadcon clients between gadcons
- apply fix from victor for gadcon client movements
- make layout algorithm orientation agnostic


SVN revision: 42539
2009-09-17 05:18:28 +00:00
Hannes Janetzek 28eac9678c fix warnings
SVN revision: 42476
2009-09-14 00:32:44 +00:00
Hannes Janetzek b212674d65 fix warnings
SVN revision: 42475
2009-09-14 00:31:07 +00:00
Hannes Janetzek f682217fba e_fm:
- show theme folder icons again
- remove mime fallback function.this is already handled by efreets mime fallback


SVN revision: 42473
2009-09-14 00:26:56 +00:00
Hannes Janetzek 0d754cef10 more work on e_remember.
SVN revision: 42458
2009-09-13 12:26:29 +00:00
Hannes Janetzek 1c23f38879 delete border remembers.. finally
SVN revision: 42444
2009-09-12 17:26:16 +00:00
Hannes Janetzek 5e2de9c09b refactor _e_border_cb_window_move_resize_reques. this screamed for a switch.
SVN revision: 42443
2009-09-12 15:51:44 +00:00
Hannes Janetzek b6836f77d0 refactor bd->changes.size evaluation
SVN revision: 42442
2009-09-12 15:24:28 +00:00
Hannes Janetzek f13cb425c1 factor duplicated ecore_evas_managed_move and ecore_x_icccm_move_resize_send
out to _e_border_client_move_resize_send(E_Border)


SVN revision: 42441
2009-09-12 13:53:43 +00:00
Hannes Janetzek be82a34929 simplify code. only refactoring
SVN revision: 42440
2009-09-12 13:18:02 +00:00
Hannes Janetzek 61124c9ee9 remember transient state - do not update
SVN revision: 42439
2009-09-12 12:42:13 +00:00
Hannes Janetzek ab9c3d8468 e_fm: find theme defined mime icons
SVN revision: 42436
2009-09-12 11:22:58 +00:00
Hannes Janetzek 7bcc49c2fe - fixed e_remember_default_match to set match values
since these are not set by e_remember_update anymore
- remove E_Remember parameter from e_remmber_update. 
  if update is possible bd->remember is already set
- do not overwrite bordername value of remember on update. 
  should only be set by conf_border dialog
- make sure on update that match values are set otherwise 
  delete remember 


SVN revision: 42435
2009-09-12 11:08:07 +00:00
Hannes Janetzek f9fc3d09aa move applying of remember properties for new windows from e_border to e_remember
SVN revision: 42433
2009-09-12 09:18:41 +00:00
Hannes Janetzek 81a9f94b4c - allow glob matching in window remember -> advanced dialog has now editable entries
- option added to remember desktop file for e window match. 
    means no more ugly openoffice provided icons (= even if i dont use it ..
- e_border: added fallback for transient windows to use .desktop from main window   
- fixed bug in e_remember to not delete all remembers when last item of the conf_remember list is deleted 


SVN revision: 42432
2009-09-12 07:04:32 +00:00
Hannes Janetzek 698aebad53 add option to keep border settings as they are when remember is set
SVN revision: 42430
2009-09-12 03:43:51 +00:00
Hannes Janetzek d798a5b840 cleanups
SVN revision: 42429
2009-09-12 03:03:53 +00:00
Hannes Janetzek 97a3564c2d set border remember match entrys only on creation
added text entries for advanced border remember dialog(not editable for now)


SVN revision: 42428
2009-09-12 02:44:41 +00:00
Viktor Kojouharov 7acb839557 reconfigure the zone bg on zone move/resize, and make sure it is recalculated if the bg pans
SVN revision: 42419
2009-09-11 17:27:08 +00:00
Hannes Janetzek 47415c096d return icon.list size if icon.icon size is not set
SVN revision: 42392
2009-09-10 21:02:09 +00:00
Hannes Janetzek df0d471509 - show edje thumbnails in wallpaper and themes dialog again.
- use 48px for fdo icons in flist
- #if 0 unused code


SVN revision: 42389
2009-09-10 20:48:52 +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
Gustavo Sverzut Barbieri 58925e0232 Update to match new EINA init/shutdown.
SVN revision: 42301
2009-09-06 22:23:04 +00:00
Hannes Janetzek bdec662049 identify shelf and menu windows as such for compositing managers
SVN revision: 42299
2009-09-06 20:04:20 +00:00
Hannes Janetzek 8b6002a5cf populate custom gadcons on when added
- now gadman shows gadgets when it is unloaded and loaded again 


SVN revision: 42284
2009-09-05 17:02:09 +00:00
Christopher Michael c73e45c5a4 Do not allow windows (which are not ECORE_X_WINDOW_TYPE_NORMAL) to be
Iconified, Maximized, or Fullscreen'd via the border menu. These type of
windows do not support those actions via the border buttons, so do not support
them via the menu either.



SVN revision: 42279
2009-09-05 14:22:50 +00:00
Hannes Janetzek 7ae508168e fix naming and warnings
SVN revision: 42278
2009-09-05 12:43:44 +00:00
Hannes Janetzek f9477d5e94 --printf, once again..
SVN revision: 42268
2009-09-04 20:41:00 +00:00
Hannes Janetzek 53a673b1e9 fix module unload issue: maybe there are some more places where EINA_LIST_FREE interferes with e_object_del
SVN revision: 42267
2009-09-04 20:26:25 +00:00
Hannes Janetzek 0b2176414b --printf
SVN revision: 42263
2009-09-04 19:43:41 +00:00
Hannes Janetzek df467eb82d e17:shutdown all modules
SVN revision: 42262
2009-09-04 19:43:10 +00:00
Cedric BAIL dff8cab47b * e_fm_shared.h: Proper fix with new API.
SVN revision: 42209
2009-09-03 14:48:46 +00:00
Hannes Janetzek 907d84a94a whoops, this shouldnt have went in the patch
SVN revision: 42206
2009-09-03 14:23:14 +00:00
Carsten Haitzler bbdf974635 partly revert your stuff cedric... BAD frenchie! BAD! segv's for e17 all
round. members of E_Volume are strduped. rest of e's code still deals with it
that way. e_hal from dbus also returns duped strings (thats why)



SVN revision: 42204
2009-09-03 13:33:35 +00:00
Carsten Haitzler fb4208b4a3 ecomorph hookes from <hannes.janetzek@googlemail.com>
SVN revision: 42203
2009-09-03 12:37:10 +00:00
Cedric BAIL 33e754e63e * e: Use new and cleaner eet API.
Note: The situation regarding string from config file could be improved.
	We could use the same trick as Edje and directly map the string from
	Eet config file. This will improve memory used by E, if string from
	config file are used a lot. So the question is : "Do we save a lot of
	string in config file ?"


SVN revision: 42201
2009-09-03 12:05:49 +00:00
Christopher Michael cb2d0546d4 More API Inconsistency fixes.
SVN revision: 42165
2009-09-01 16:58:22 +00:00
Christopher Michael dd1031c82e More API Inconsistency fixes:
e_flowlayout_min_size/e_flowlayout_max_size_ changed to size_min/max
e_entry_min_size_* changed to e_entry_size_min_*
e_slider_min_size changed to e_slider_size_min_*




SVN revision: 42164
2009-09-01 16:47:09 +00:00
Christopher Michael 3e1c0d622a Fix API Inconsistency:
e_ilist_min_size_* to e_ilist_size_min_*



SVN revision: 42163
2009-09-01 16:39:10 +00:00
Christopher Michael bc639c764d More API Inconsistency fixes:
e_box_min_size_* to e_box_size_min_*
e_box_max_size_* to e_box_size_max_*



SVN revision: 42161
2009-09-01 16:29:46 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
victor 324e84908c From: victor <victor.scorpion@gmail.com>
Hi guys.

Here is my solution for #113 ticket request. This allows to transfer a
gadget to different locations. In short,

- any module can register arbitrary number of locations by invoking
e_gadcon_location_register().
- module is responsible to provide 2 functions, one for removing
particular gadget and one to add particular gadget class.
- module responsible to equip its gadcon(s) with reference to registered
location. If a gadcon contains non-NULL location reference, each gadget
contained by this gadcon can have submenu on its context menu. Template
function for constructing such submenu is provided
e_gadcon_client_add_location_menu. Gadgets can be moved from and to this
location by invoking menu items. Gadcons with NULL location reference
can accept transferred gadgets by module logic but can't send contained
gadgets to another module.
- module responsible to unregister location when gadcon is no more
available.
- menu items for context submenu is sorted by E_GADCON_SITE_XXX assigned
to that. Module can assign and change an icon for context menu item
corresponding to its location(s).
- Currently only shelves and gadman (desktop) used in gadget transfer
operations. I believe it is no trouble to ivolve any other
gadcon-capable module into the process. If you want to have that, please
just let me know.

Here the patch in attachmet. It even works, at least sometimes and at
least for me. Hope you'll find it useful.



SVN revision: 42121
2009-08-31 11:23:03 +00:00
Iván Briano c8e998c551 Make it possible to disable the auto gdb backtrace.
SVN revision: 42093
2009-08-30 00:19:10 +00:00
Hannes Janetzek 1e8112a09e remember the borders' .desktop file after restart
SVN revision: 42067
2009-08-28 09:25:36 +00:00
Hannes Janetzek b3c2986d55 e_exec: wait for openoffice to come an grab its icon
SVN revision: 42066
2009-08-28 08:37:07 +00:00
Carsten Haitzler e020fbb290 illume2 - work, toolbart - short labels, ok
SVN revision: 42030
2009-08-27 09:26:13 +00:00
Christopher Michael 01ba9b9df5 Use simpler method for testing disabled state vs what we want it to be.
SVN revision: 41996
2009-08-25 23:06:40 +00:00
Christopher Michael c6f9667e4b Formatting.
SVN revision: 41995
2009-08-25 23:04:22 +00:00
Christopher Michael a616287b1a Formatting.
SVN revision: 41973
2009-08-25 11:49:46 +00:00
Christopher Michael b877f2af7a Patch from victor to fix removing modules via the "Set Contents" dialog.
SVN revision: 41966
2009-08-25 06:06:26 +00:00
Cedric BAIL 6051d5f3a6 * e_gadcon.c: Fix Gadcon unpopulate. Thanks to Sachiel.
SVN revision: 41950
2009-08-24 09:17:54 +00:00
Christopher Michael b851ab4fc9 Don't center window when changing modes as the user may have moved it.
SVN revision: 41933
2009-08-23 03:40:25 +00:00
Christopher Michael ad84ddfb3e Formatting.
Whitespace Removal.
Fetch the windows evas once instead of multiple calls to e_win_evas_get.
Use E_FREE to free the config dialog structure.
Make sure the window is centered when switching between Basic & Advanced.



SVN revision: 41931
2009-08-23 02:03:30 +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
Christopher Michael f562bba47f Formatting.
SVN revision: 41908
2009-08-21 06:05:35 +00:00
Christopher Michael 58d99d1c1a Ooops, remove printf
SVN revision: 41892
2009-08-20 17:49:01 +00:00
Christopher Michael 0025bcaafc Not sure why, but this didn't seem to commit...
formatting/whitespace. Use E_NEW & E_FREE


SVN revision: 41891
2009-08-20 17:43:24 +00:00
Christopher Michael e5f2239266 Formatting. Use E_NEW & E_FREE.
SVN revision: 41890
2009-08-20 16:57:59 +00:00
Hannes Janetzek c345e7c8c8 e17: do not show shape of argb popups
SVN revision: 41867
2009-08-19 01:41:37 +00:00
Carsten Haitzler 13ced8509f move eval into 2 stages - much better for the illumes of this world.
SVN revision: 41835
2009-08-17 07:54:02 +00:00
Carsten Haitzler d58712dd80 lets sync on focus - just in case.. butit doesn't seem to help :/
SVN revision: 41834
2009-08-17 07:52:59 +00:00
Carsten Haitzler 2bf799d4da and fix dropshadow flash too.
SVN revision: 41809
2009-08-16 05:08:40 +00:00
Carsten Haitzler 5f821ec54f fix redraw flashes for popus.
SVN revision: 41808
2009-08-16 05:05:59 +00:00
Gustavo Sverzut Barbieri 30c9bc06ad widgets must emit "changed" even if they don't have parents.
this unbreaks all dialogs that were not enabling "ok" and "apply"
buttons.

bad raster, bad... =)



SVN revision: 41797
2009-08-16 00:23:38 +00:00
victor 80c339d9b0 From: victor <victor.scorpion@gmail.com>
shelf resize patch.  tnx!



SVN revision: 41789
2009-08-15 11:54:35 +00:00
Carsten Haitzler 072f4b664f fix evas error debug where passing in null objects is bad.
SVN revision: 41788
2009-08-15 11:32:32 +00:00
Iván Briano 7e4367102e Avoid blank entries in the Files menu.
Patch by manio


SVN revision: 41731
2009-08-13 03:07:17 +00:00
Christopher Michael 435f9b1272 Fix up formatting a little.
Add function prototype.
Add __UNUSED__ to function & prototype.



SVN revision: 41713
2009-08-12 17:38:17 +00:00
Christopher Michael 162bac4cef Fix function prototypes by adding missing __UNUSED__. For some reason, the
__unused__ was in the function declaration itself, but not the prototype.



SVN revision: 41712
2009-08-12 16:49:59 +00:00
Christopher Michael d07e0e19a3 Revert Victor's Shelf content placement patch as some people are
experiencing problems with it...strange, worked here, but eh ;)



SVN revision: 41672
2009-08-10 18:34:07 +00:00
Christopher Michael 7dc51a07c9 Victor's <victor.scorpion@gmail.com> patch for
'Shelf content placement on screen resize fix'.

Tested here, no adverse effects.



SVN revision: 41637
2009-08-08 01:39:30 +00:00
Christopher Michael f40bb247d6 Bump copyright year as it's now 2009 :)
SVN revision: 41627
2009-08-06 23:37:34 +00:00
Gustavo Sverzut Barbieri 23d3ff38d9 Use new eina_list_search_sorted_near_list.
Match new api.

By: Tiago Rezende Campos Falcão



SVN revision: 41626
2009-08-06 22:35:45 +00:00
Christopher Michael b9a6167841 Remove useless variable and just use a direct object reference.
No need for _type_set to return an 'int' as we never check it anywhere, so
make the function return 'void'.


SVN revision: 41561
2009-08-02 21:10:52 +00:00
Christopher Michael 4371d3e9b8 Removed duplicated code. Use E_FREE to free pointer.
SVN revision: 41560
2009-08-02 20:44:04 +00:00
Christopher Michael c53fd6e204 Use E_NEW, E_FREE and EINA_LIST macros.
SVN revision: 41538
2009-07-29 19:31:41 +00:00
Christopher Michael 619fc7a98a Two patches from Peter van de Werken
- Hide eina_list internals by using eina macros
    - Cleanup some duplicate code

Patches slightly modified for formatting & whitespace removal.
Use eina_list internal macros in some places that were missed.



SVN revision: 41518
2009-07-28 01:33:08 +00:00
Gustavo Sverzut Barbieri f16d0a13ef fix bug with dialog resize.
This nasty bug was more evident with dialog reuse on configuration
Basic/Advanced toggle, on some resolutions like 1280x1024 it was
always reprodutible.

The problem spotted by Manio is that the dialog contents is resized
but the window is not. The bug follow is:

 * window is at some given size (640x512)
 * user toggles contents, calls e_dialog_show()
 * bg_object (window contents) is resized to MIN (!!!)
 * e_win_resize is called with MIN (so far, so good)
 * something calls e_util_win_auto_resize_fill(), size is back to 640x512
 * _e_border_eval() resizes to the last value 640x512, it's unchanged
   so _ecore_evas_x_resize() checks for size being the same and ignore,
   not even callking back fn_resize (user callback, _e_dialog_cb_resize).
 * window is at 640x512, while bg_object is at MIN, BUG!

One solution is to never change bg_object from outside
_e_dialog_cb_resize, like it's after this patch. The other is to
always call fn_resize even if it did not changed, which could lead to
lots of useless work.

By: manio
Confirmed: barbieri


SVN revision: 41515
2009-07-27 19:32:04 +00:00
Christopher Michael 33fe50ae6e Remove whitespace.
Use E_FREE for things created with E_NEW.
Add new function to clear the toolbar.
Add new function to return the number of the selected item.



SVN revision: 41501
2009-07-27 00:30:06 +00:00
Gustavo Sverzut Barbieri dd6ec8ed02 fix #217: enlightenment_start -profile <profile> blocks further profile changes.
We should just set E_CONF_PROFILE from command line option or e_config
startup if we did not had this set before. This is because
ecore_app_restart() will use the same parameters and profile will be
there yet.



SVN revision: 41500
2009-07-26 17:01:42 +00:00
Christopher Michael 5569d56971 Give the Send To Desktop submenu the same bg previews that the main menu has
for Virtual Desktops.


SVN revision: 41494
2009-07-25 04:59:35 +00:00
Christopher Michael dcdad3e57d Remove useless printf.
SVN revision: 41491
2009-07-24 18:31:05 +00:00
Christopher Michael c71049539c Formatting.
SVN revision: 41485
2009-07-24 01:56:00 +00:00
Christopher Michael f6b5cdb13c Cleanup the OBJECT_PARANOIA_CHECK issue wrt execinfo.h. Now we always
include execinfo.h



SVN revision: 41476
2009-07-22 19:38:14 +00:00
Christopher Michael 4de27170c4 Use E_NEW and E_FREE for creating & deleting E_Theme_Result.
SVN revision: 41455
2009-07-20 14:47:40 +00:00
Christopher Michael e31f28d677 Since we are not using the returned pointer from eina_hash_find here, we can
remove the variable as eina_hash_find will return NULL is nothing is found.


SVN revision: 41444
2009-07-20 01:58:43 +00:00
Christopher Michael 230b89e8da Formatting & Whitespace Removal
SVN revision: 41443
2009-07-19 20:30:33 +00:00
Christopher Michael b0a07a8ac6 Use E_FREE for things created with E_NEW.
Formatting & Whitespace Removal


SVN revision: 41442
2009-07-19 20:26:10 +00:00
Christopher Michael 0df3f4e2d9 Formatting & Whitespace Removal
SVN revision: 41441
2009-07-19 20:16:49 +00:00
Christopher Michael e79f4205ea Add cast to char ** for wd->value to cleanup compiler warning.
SVN revision: 41440
2009-07-19 20:09:38 +00:00
Christopher Michael 94a3bcae16 Cleanup compiler warning on e_signals.c:
execinfo.h (which contains the backtrace* functions is only included
        if OBJECT_PARANOIA_CHECK is defined so add an #ifdef around those calls.


SVN revision: 41439
2009-07-19 20:08:38 +00:00
Christopher Michael ac691eb2d1 Don't need these includes here. They are already included via e.h
SVN revision: 41438
2009-07-19 19:59:39 +00:00
Christopher Michael a5051f30d9 Remove manual eina_shutdown call as it's now popped from E's shutdown stack.
SVN revision: 41431
2009-07-19 09:29:52 +00:00
Christopher Michael 9e0827a761 Formatting & Whitespace Cleanup (No Code Changes).
SVN revision: 41430
2009-07-19 09:13:39 +00:00
Christopher Michael 7b2158cfe6 Oops. Use exit(-1) instead of my tested _e_main_shutdown(-1). My Bad :(
SVN revision: 41429
2009-07-19 09:03:49 +00:00
Christopher Michael 69a0f8c84f Add missing eina_shutdown to E's main shutdown stack.
Fix formatting.
Remove Whitespace.



SVN revision: 41428
2009-07-19 08:59:20 +00:00
Christopher Michael 43e8b47bb3 Fix minor typo in comment. Nothing serious.
SVN revision: 41425
2009-07-19 02:24:12 +00:00
Christopher Michael 72f10aab04 Remove annoying printf. If you are using this to debug something, please use
#if 0 around it.


SVN revision: 41422
2009-07-18 21:10:27 +00:00
Carsten Haitzler cb99a78862 fix placement to actually respect overlay allow of shelves
SVN revision: 41376
2009-07-17 01:42:37 +00:00
Vincent Torri d5ca129dfc rename ECORE_EVAS_ENGINE_SOFTWARE_X11 to ECORE_EVAS_ENGINE_SOFTWARE_XLIB
SVN revision: 41331
2009-07-14 21:19:30 +00:00
Miculcy Brian 8e9a06ea44 no, we can't try to kill a window on request and then expect that it is killed and hide the border...
SVN revision: 41317
2009-07-13 00:24:15 +00:00
Gustavo Sverzut Barbieri e9942f09de e_config_dialog: reuse e_dialog on changes between basic and advanced.
This patch will reuse the same e_dialog and thus window while changing
contents between basic and advanced. The benefit, among many, is to
avoid titlebar flashing like hell when you click the toggle button.

By: manio


SVN revision: 41314
2009-07-12 00:24:11 +00:00
Gustavo Sverzut Barbieri 9da81cfce6 fix e_border handling of without_border flag.
Ooops! My last changes to introduce without_border broke things, often
unnoticed but it was in the way when we requested resize of existing
window, done in the patch to reuse the e_dialog while toggling between
basic<->advanced by manio.

Thanks manio for spotting and Sachiel for the time help debugging it.


SVN revision: 41313
2009-07-12 00:21:28 +00:00
Gustavo Sverzut Barbieri 117998f8f1 gadman: use one gadcon per zone.
Before gadman was using a single gadcon for all zones, that lead to
problems like popup menus being incorrectly placed.

The correct solution is to mimic shelves and have one gadcon per zone,
including the top layer.

By: manio



SVN revision: 41312
2009-07-11 20:46:55 +00:00
Gustavo Sverzut Barbieri f3c1679442 make it easy to run e under valgrind and debug crashes.
this should help us in near future:

  * -valgrind[=MODE], to run under valgrind and toggle interesting
     options as we often request users to give us valgrind logs but
     they're often running valgrind on wrong binaries and with wrong
     parameters. See enlightenment_start -help for more, but in sort:
     -valgrind=all should give us enough information.

  * -valgrind-log-file=path, so the log will not mix with lots of
     output we do.

  * debug: on crashes, always list traceback (execinfo/glibc
    functions) and check if gdb exists, if so ask it to print out
    traceback of all threads to stdout. gdb will be detached as soon
    as messages were printed and everything should work without gdb as
    well.



SVN revision: 41309
2009-07-11 16:27:37 +00:00
Hannes Janetzek 315133303e e17 exehist: do not add file params to exhist
SVN revision: 41268
2009-07-07 17:38:42 +00:00
Carsten Haitzler 00819897b6 wallpaper2 - select wallpaper that is used on start
version config - literally keep the last 9 config revisions (10 including the
current) and if config gets corrupted...it auto-falls back to the last good
one.



SVN revision: 41252
2009-07-06 09:43:58 +00:00
Christopher Michael 584a95b6ad Fix comment spelling.
SVN revision: 41250
2009-07-04 19:15:34 +00:00
Christopher Michael c37b22a39f Fix ticket #343 (autoscroll and resizable not being set after restart).
Formatting.
Whitespace Removal.
Variable cleanup.
Add missing 'static' declaration on private function.
Move EAPI functions to be together in the source before local functions.



SVN revision: 41246
2009-07-04 01:44:34 +00:00
semernin 5d24f7948e 1. New field in E_Fm2_Op_Registry_Entry named dialog, that hold pointer
to error, abort or overwrite dialogs.
2. Glyph in fileman_opinfo theme that show have or not operation linked
   filemanager window.
3. When click on operation on fileman_opinfo, then linked efm window
   raised or attention dialog if error exist.


SVN revision: 41229
2009-07-01 18:35:26 +00:00
Cedric BAIL b4c393ccea * e: Remove not correctly initialized warning.
SVN revision: 41225
2009-06-30 09:27:03 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +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 413729a142 get zone from gadcon.
The old code that query the zone based on x,y was causing me
segfaults. When battery module was in a hidden shelf, the position was
outside any zone and then segmentation fault.

As far as I understand, gcc->gadcon->zone should always exist and
always be correct, but I don't have xinerama setup now to confirm
that.

If you know this is wrong, let me know!



SVN revision: 41147
2009-06-21 21:18:44 +00:00
Gustavo Sverzut Barbieri c00f5c9b06 Let's at least check for NULL pointer.
SVN revision: 41145
2009-06-21 21:14:49 +00:00
Gustavo Sverzut Barbieri 00aa72ef47 e_fm2: avoid invalid mouse-up.
Here's another patch I've made for efm2 to fix an issue that I've
often experienced using it (in Illume) with a touch-screen
device (Freerunner).  It often happens a very strange thing: I
try to finger-scroll a bottom icon (it must be on the latest row)
moving my thumb up, well... The the scroller doesn't scroll, but
wherever and whenever I release my finger, the selected icon is
executed!

I don't really know to what is this due (the touchscreen seems to
perform correctly by the way), but I've never been able to
replicate it using a mouse in my PC.

Anyway to fix this issue, that could be specific, I've used a
workaround that I think that could be applied for all: it
basically checks if the mouse has been released in the area where
the clicked icon is, before sending a "selected" callback.

It needs the previously attached
e_fm2-single-click-delay-support.patch to be applied correctly.

Going deeply into the real issue I've made some tests, and I got
that this seems mostly due to an evas issue (I figure), since the
e_fm2's scrollframe never sets the evas event flag to:
EVAS_EVENT_FLAG_ON_HOLD
(that would avoid the un-wanted click).
After some debugging there, I've also seen that in this very
particular buggy case the _e_smart_event_mouse_up() and
_e_smart_event_mouse_move() callback functions are never
called (so I figure that evas doesn't add the callbacks at all
for the scrollframe, while they are added in the e_fm2).

Let me know what you think about this... I thing that the Om
users would need a fix like this.

By: Marco Trevisan (Treviño)



SVN revision: 41129
2009-06-20 15:54:52 +00:00
Gustavo Sverzut Barbieri 5fb986a05b avoid unwanted clicks on touch-screen.
avoiding the un-wanted clicks with touch-screen devices (especially if
they aren't so precise); it basically allows to set a time delay to be
awaited (pressing over an icon) before sending a "selected" callback.

Thanks to this, it could be needed a longer pressure to select an item
in the file-manager; useful for embedded/touch-based systems.

By: Marco Trevisan (Treviño)



SVN revision: 41127
2009-06-20 15:49:54 +00:00
Cedric BAIL c82f19e052 * e: Remove all reference to Evas_Data and move to Eina_Bool.
SVN revision: 41080
2009-06-17 13:46:54 +00:00
Gustavo Sverzut Barbieri be4f4af8a9 Do not evaluate deleted borders.
This bug was showing when fast toggling between advanced<->basic in
config dialogs.

Note, however, that there are a remaining alien bug with fast
toggling. It's aborting due adding evas object as member of another
from other canvas, which is not allowed. I tried to debug it and it's
REALLY weird, the advanced or basic create_widgets() are being called
twice, from inside the same function, like if the create_widgets() was
calling itself, but the code do not do that, I traced some that would
happen from e_widget_button_add()!!! Like if we had threads of were
being preempted from nowhere, really strange... seems like a stack
corruption :-(


SVN revision: 41038
2009-06-15 01:33:41 +00:00
Gustavo Sverzut Barbieri 2406757ec9 fix annoying bug with config dialog window layout.
as spotted by manio, toggling between "Basic" and "Advanced" mode was
making the window move (just open Theme dialog and toggle).

Manio suggested a fix by keeping window center between both modes, but
I think that given our top-left to bottom-right reading (LTR) we
better keep the title bar (x,y) intact and avoid full rescan. This can
be weird in small screens where the dialog will not be centered
anymore and that will show easily, but on regular screens this should
not be an issue.

Also spotted that it was wrong when trying to avoid window overflow
(using x instead of y).

PS: I wonder why we destroy and create the window all over again! This
is really annoying, title bar will show the focus animation and you
get lost (need to rescan it again).




SVN revision: 41004
2009-06-10 22:53:00 +00:00
Gustavo Sverzut Barbieri f6af66808f do not segv on executables that return non-zero.
if an executable returns non-zero a dialog will be present with
information, if it was a .desktop file, then it would use the "Name"
field to name the log and all.

However, the .desktop reference was deleted and the dialog would use a
bogus pointer. Now we take a reference insidethe dialog and just
release it on dialog deletion.

Found by manio, fix by me.



SVN revision: 40987
2009-06-09 16:45:59 +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 537a6e62ca use auto-resize instead of fixed dialog size.
this will help with dialogs in languages with larger labels/text.



SVN revision: 40975
2009-06-08 17:40:46 +00:00
Miculcy Brian d66efb7a84 fix typo
SVN revision: 40957
2009-06-07 22:07:05 +00:00
Gustavo Sverzut Barbieri 310ce61a7e resize first, show last.
This was showing on languages with larger strings, like french.

By: Vincent François.


SVN revision: 40956
2009-06-07 21:25:34 +00:00
Viktor Kojouharov c1dd656e64 remove all traces of the resize callback function. it iss not needed anymore
SVN revision: 40940
2009-06-07 08:56:16 +00:00
Gustavo Sverzut Barbieri 2af9f44b4f efm2 hal handling API - full changes.
1. Added E_FM_OP_EJECT command to e_fm_main. It unmounts volume
   before eject, if it necessary.
2. Added timeouts of mounting/unmounting/ejecting media, and
   it's moved to slave e_fm_main.c. Each timeout will generate
   *_MOUNT_ERROR, *_UNMOUNT_ERROR and *_EJECT_ERROR message.
3. Added auto mount on insert media and auto showing efm2 window
   on mount volume options to filemanager config.
4. Added mounted/unmounted glyphs to efm2 icons and track state
   code. Now each removable device have "M" glyph on icon if mounted
   and "U" when unmounted.
5. Added mount/unmount/eject commands to icon dropdown menu.
6. Russian translation of mew messages.
7. Other bugfixes and improvements for co-operation.

Now, efm2 contains all code to mount/umnount/eject removable media and
all code to provide corresponding user interface.
It can working independently from 'places' or co-operate with it.

By: Sergey Semernin



SVN revision: 40928
2009-06-07 00:00:41 +00:00
Gustavo Sverzut Barbieri 987192c54d fix bugs of gadgets using incorrect zones.
I found strange behavior in my configuration (xinerama - two screens
with two zones). When i select a Enlightenment->Restart from menu the
popups for gadgets on desktop doesn't appear or appear wrongly. After
some time i've found that this depends on on from what screen i am
choosing this enlightenment->restart :)

After some debugging i figured it out:

When restarting enlightenment some gadgets (i.e. calendar) are calling
e_gadgon_popup_new(). Inside that function, zone for popup window
(this zone was used later in ecore_evas_move_resize) is calculated
like that:

{{{
zone = e_util_zone_current_get(e_manager_current_get());
and in e_manager_current_get is: ecore_x_pointer_xy_get()
}}}

... so - i have my answer why restaring from one screen (cursor was on
that screen) and from second screen i have different results...

In other words: during initializing module like calendar - created
zone for popup is assigned depending on current cursor position.

In my patch i've chage this to obtain zone using the gadget position
instead.  But it solves the problem partialy.

Next thing - in function:

e_gadget_popup_show() (which is called later) when calculating popup
position coordinates was calculated using zone:

{{{
pop->gcc->gadcon->zone
}}}

which in my case was always the first (initial) zone - (of course it
was wrong, because i put a gadgets on different screens for testing).
so i changed it to zone of popup window (which was calculated before,
in e_gadgon_popup_new()) and after that everythings works ok :) Zones
for popups are correctly assigned and popups calculation are also ok -
even after restaring enlightenment (tested with cursor on both
screens).

By: manio



SVN revision: 40927
2009-06-06 23:40:58 +00:00
Gustavo Sverzut Barbieri 128126a732 fix typo that would use the incorrect window border icon.
SVN revision: 40906
2009-06-05 18:50:05 +00:00