Commit Graph

84 Commits

Author SHA1 Message Date
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Mike Blumenkrantz 4e779975f9 rename E_LIST_HANDLERS_APPEND to E_LIST_HANDLER_APPEND, also add E_LIST_FOREACH
SVN revision: 76951
2012-09-21 09:23:07 +00:00
Mike Blumenkrantz 2b41e37c30 const cleanup
SVN revision: 76530
2012-09-12 13:39:43 +00:00
Mike Blumenkrantz 3eb3b755ea fix crashing when shelf config dialog is open and orientation is changed using a menu and then shelf config is changed and applied from the config dialog
SVN revision: 76376
2012-09-10 08:23:38 +00:00
Mike Blumenkrantz a9dd95b2c4 fix crash when changing settings in shelf config dialog which causes the shelf to be re-created
SVN revision: 76347
2012-09-08 19:43:45 +00:00
Mike Blumenkrantz c61c107346 shelves now only watch all mouse events when autohide is set since a static shelf doesn't need to care about it; this will save some amount of cpu I guess
this also breaks the use of e,state,focused programs on non-autohiding shelves, but nothing I'm aware of has ever used this, sooooooo :)
also probably fixes ticket #1467


SVN revision: 76320
2012-09-07 18:59:43 +00:00
Mike Blumenkrantz eefe608050 use better codepath for refreshing shelf after config has changed
ticket #1465


SVN revision: 76312
2012-09-07 14:02:33 +00:00
Mike Blumenkrantz a8beb0950c fix usage of PATH_MAX when not working with files
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Mike Blumenkrantz 5f00002f42 fix stringshare misuse
SVN revision: 72866
2012-06-26 10:03:01 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Cedric BAIL 2d0970da9a e: warning--.
SVN revision: 70751
2012-05-04 02:34:56 +00:00
Viktor Kojouharov 6e67afe9e3 allow settings the shelf layer to 'below windows', if it was 'below everything'
SVN revision: 64212
2011-10-20 22:05:16 +00:00
Christopher Michael a0a0b42146 E: No need to store static lists of borders, comps, shelves, etc.
Those static lists were only used in config dialogs, so they are not
'required' to be static and existing while E is running. The config
dialogs can just call the e_theme_*_list functions when they need to.

NB: This reduces E's memory footprint !! :)



SVN revision: 63529
2011-09-22 04:05:55 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Mike Blumenkrantz 572ed90432 more uninitialized values
SVN revision: 56148
2011-01-16 01:22:41 +00:00
Mike Blumenkrantz e5a657580a prevent garbage value determining flow if list is null
SVN revision: 56147
2011-01-16 01:20:38 +00:00
Christopher Michael 20c922e047 Remove unused function(s).
SVN revision: 51341
2010-08-18 20:30:23 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael dbf68af02f Fix shelf settings dialog always resetting the shelf style to
'alternate'.



SVN revision: 49121
2010-05-22 02:52:05 +00:00
Hannes Janetzek 9b1d74ccf9 fix warnings
SVN revision: 48500
2010-05-01 13:26:32 +00:00
Miculcy Brian 1972ad7589 reorder options
SVN revision: 48394
2010-04-28 14:58:27 +00:00
Christopher Michael 536b1c6575 Center shelf config dialog.
SVN revision: 47884
2010-04-09 19:09:42 +00:00
Christopher Michael 8c7e0d1631 Better Shelf Config dialog. Works in smaller resolutions now :)
SVN revision: 47882
2010-04-09 17:58:23 +00:00
Sebastian Dransfeld 288ba85026 No point in setting binding in config
These bindings are not saved, and we don't want them saved

SVN revision: 45370
2010-01-20 22:36:34 +00:00
Sebastian Dransfeld bdb1f669e6 Fix compiler warnings
SVN revision: 45180
2010-01-15 12:01:06 +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
Christopher Michael 9d4f41fe94 Use PATH_MAX instead of 4096.
Fix some formatting issues.



SVN revision: 44897
2010-01-04 21:39:07 +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
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
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 c71049539c Formatting.
SVN revision: 41485
2009-07-24 01:56:00 +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 8638cc125a shelf style previews are now smaller
SVN revision: 40169
2009-04-18 14:03:31 +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 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
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
Viktor Kojouharov 9a303630ae shorten some strings
SVN revision: 39886
2009-04-06 21:22:12 +00:00
Cedric BAIL c979b3f9d5 * e_widget_ilist_add now expect a stringshare.
SVN revision: 39447
2009-03-11 15:13:42 +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
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
Viktor Kojouharov 9bbc8158bd edge and corner binding infrastructure. If you have an old config, enable the conf_edgebindings module and hit 'Reset to defaults' to get edge desktop switching.
The edge/corner picker needs some love from someone who is not artistically challenged.  And a proper module icon as well.


SVN revision: 39220
2009-02-25 22:21:46 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Sebastian Dransfeld 82d51d02aa Update flip windows in case we change outhide behaviour.
SVN revision: 34861
2008-06-19 12:12:24 +00:00