Commit Graph

319 Commits

Author SHA1 Message Date
Hannes Janetzek 036d995401 e17: use non-translateable string for gadcon client shelf menu item. as before.
SVN revision: 58006
2011-03-23 00:18:15 +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
Eric Schuele 09b181a9d5 Make sure auto-hidden shelves only unhide when you mouse in while on a desktop the shelf is actually present on
SVN revision: 57441
2011-03-01 04:48:48 +00:00
Carsten Haitzler f09e917e18 fix case where we could have x fatal stuff happen during shutdown or
we try use x on shutdown when x io fatal conditions have happened.
x_fatal flag around for that now too. tested. seems to now be happy
and not cause aborts on shutdown when x has gone.



SVN revision: 57075
2011-02-16 05:20:13 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Miculcy Brian 748d4e182f Show a better name for shelfs, shelfs are now named as "Shelf bottom", "Shelf bottom_left", etc. I guess _E_Shelf->const char *name can be removed now... Anyone against that? :)
SVN revision: 51929
2010-09-06 17:38:18 +00:00
Miculcy Brian 6f7ca81277 easier shelf menu
SVN revision: 51867
2010-09-03 18:41:23 +00:00
Christopher Michael 26d1480832 Add unused.
Use PATH_MAX.



SVN revision: 51339
2010-08-18 20:28:37 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

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

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



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler e89dbf0415 fix shelf add to add to right zone.
SVN revision: 50795
2010-08-04 01:25:57 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Carsten Haitzler 1fbaf30e95 add names to popups
SVN revision: 48888
2010-05-15 12:25:33 +00:00
Hannes Janetzek 9ffab8f5e6 fix last commit. those shouldnt have slipped in..
SVN revision: 48192
2010-04-20 23:42:57 +00:00
Hannes Janetzek 26127d523f removing exebuf, left exebuf_terminal_cmd as it's used in other places
SVN revision: 48191
2010-04-20 23:25:42 +00:00
Sebastian Dransfeld 306d3dee1f Fix shelf numbering
id must be unique. So if we have 2 zones with 1 shelf in each, hide 1
zone and add a new shelf, it must get id "hidden shelf" + 1

SVN revision: 45563
2010-01-25 19:37:13 +00:00
Sebastian Dransfeld 511f4dd3c1 cleanup
SVN revision: 45547
2010-01-25 09:37:30 +00:00
Sebastian Dransfeld d529af17ba cleanup
SVN revision: 45546
2010-01-25 09:31:07 +00:00
Sebastian Dransfeld ca335a9fc2 Fix #483 again
SVN revision: 45531
2010-01-24 21:20:32 +00:00
Sebastian Dransfeld 2de0425541 Fix #483
For corner shelves, detect movement in corner windows
Use ev->root.{x,y} as event coordinates, we do not care where the mouse
moves within the edge windows.
Convenience function for window -> edge detection.

SVN revision: 45498
2010-01-23 20:06:02 +00:00
Sebastian Dransfeld caff9d5ade cleanup
SVN revision: 45381
2010-01-21 08:31:44 +00:00
Sebastian Dransfeld 5b22c194a8 Create/ delete edge bindings for shelves as needed
Fixes bug #483

SVN revision: 45371
2010-01-20 22:36:45 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +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
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 74c9efaa78 fix warnings
SVN revision: 42606
2009-09-21 20:19:14 +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
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
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
victor 80c339d9b0 From: victor <victor.scorpion@gmail.com>
shelf resize patch.  tnx!



SVN revision: 41789
2009-08-15 11:54:35 +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 022e23f4cb Formatting & Whitespace removal
SVN revision: 40417
2009-04-27 15:42:43 +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 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 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
Viktor Kojouharov 9a303630ae shorten some strings
SVN revision: 39886
2009-04-06 21:22:12 +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
Viktor Kojouharov fb323cef74 temporarily show the shelf on urgent windows (ibox)
SVN revision: 39649
2009-03-23 12:14:31 +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
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
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +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 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 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
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
Hannes Janetzek 887264eed4 added e_gadcon_locked_set: with this gadgets can lock the gadcon from
vanishing, like with e_shelf_locked_set. gadcon providers set their own lock 
function with e_gadcon_util_lock_func_set, which is called by 
e_gadcon_locked_set.


SVN revision: 38759
2009-01-24 14:09:37 +00:00
Carsten Haitzler a65708abbd clean up wiz
SVN revision: 38694
2009-01-22 04:42:16 +00:00
Gustavo Sverzut Barbieri af9c9c7df0 e_shelf: lock whenever its menu is active.
Anytime shelf appends its submenu, it will lock shelf so it's not
hidden automatically. Unlock happens as soon as the menu item is
deleted.



SVN revision: 38529
2009-01-10 07:09:45 +00:00
Gustavo Sverzut Barbieri 05402668aa e_menu: recursively delete children menus.
e_menu had this behaviour that submenus were not deleted
automatically, relying on the parent menu to hook to post_deactivate
and then delete them.

This was good because maybe you don't want to delete these children,
you might want to reuse them sometime.

But it ended that nobody was using this feature, and worse: most use
cases were failing to delete these children, causing memory leak.

This commit changes the default behaviour and thus remove all the
existing code that was replicating such work. If one want the old
behavior, just call e_menu_item_submenu_set(mi, NULL) and it will be
unbounded from the parent.

If you experience any problems with that, try adding some printf()
before _e_menu_free() and _e_menu_item_free() and print some relevant
information like m->category and m->header.title or mi->label in order
to figure out the problematic menu.



SVN revision: 38528
2009-01-10 07:02:32 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Chidambar Zinnoury 3ec28b3664 Make DnD work when shelf is set to be on the desktop (below everything).
SVN revision: 37445
2008-11-03 21:47:32 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33:21 +00:00
Carsten Haitzler d09de3a59a instant edit --
SVN revision: 37012
2008-10-23 04:49:52 +00:00
Carsten Haitzler b79fb7422a enable instant_edit (pesss and hold for 1 second to drag around)
SVN revision: 37009
2008-10-23 00:55:21 +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
Chidambar Zinnoury f651545665 One less segfault! Deleting gadcon was calling many other things, and ended up recreating hide_animator, so delete it before timers and animators are deleted.
SVN revision: 36838
2008-10-20 07:40:14 +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
toma a3c3d2c23f Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
2008-10-12 06:04:26 +00:00
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Carsten Haitzler ce1dc55d7b usscaling factor in some places - like icons in config panel, fileman and
shelf sizes. can be put in so so so many other places.



SVN revision: 36212
2008-09-24 13:47:10 +00:00
Carsten Haitzler 2d9dd3ea37 fix dnd for desktop - if you have multiple zones! remove printf's too. lots
of noisiness in e.



SVN revision: 36103
2008-09-19 23:58:07 +00:00
Sebastian Dransfeld ae855ee47e Fix dnd. Hopefully works in all situations now. Seems like we should
consider separating internal and external dnd code.


SVN revision: 34901
2008-06-24 20:13:35 +00:00
Sebastian Dransfeld 3bc2777b2b Correct window for shelf on the desktop is the containers bg window.
SVN revision: 34899
2008-06-24 15:56:15 +00:00
Sebastian Dransfeld c2f787049d Can't use zone directly.
SVN revision: 34896
2008-06-23 15:47:16 +00:00
Sebastian Dransfeld 54b6437092 clean up dnd registering, should be no functional change.
SVN revision: 34895
2008-06-23 14:45:28 +00:00
Sebastian Dransfeld 493223f32c Add edge move event, so a slide in on the edge will show a shelf.
Fix interrupt hiding on mouse in.


SVN revision: 34872
2008-06-19 13:23:20 +00:00
Sebastian Dransfeld e2d3ec990a pure zone isn't available.
SVN revision: 34824
2008-06-14 10:10:54 +00:00
Sebastian Dransfeld 590e894b88 Add missing dnd registration for shelf.
SVN revision: 34823
2008-06-14 09:53:05 +00:00
Carsten Haitzler 0a8ffffa5f add in gadman for desktop. happy dave! :)
SVN revision: 34610
2008-05-19 04:37:34 +00:00
Sebastian Dransfeld 804737eb4d Only show edge windows which are in use.
SVN revision: 33532
2008-01-19 11:41:42 +00:00
Sebastian Dransfeld 907891b325 No need to recreate the popup if it already exists.
SVN revision: 33531
2008-01-19 10:08:05 +00:00
Sebastian Dransfeld a1d9d6b9b5 Only trigger on edge event in the shelf's zone.
SVN revision: 33472
2008-01-13 19:14:19 +00:00
Sebastian Dransfeld 36e5670541 Delay assignment of es->win, as e_popup_edje_bg_object_set might change
the window (patch from jeffdameth).


SVN revision: 33065
2007-12-09 15:38:03 +00:00
Christopher Michael 27b2feab69 Some shelf fixes.
- Use -1 during a call to evas_list_sort rather than evas_list_count. -1
will sort the whole list anyway, and we avoid the extra call to list_count.
- Don't sort shelves during every add. They are sorted when e_shelf_list is
called anyway.
- Fix shelf numbering in the shelf list dialog.


SVN revision: 33054
2007-12-08 23:40:57 +00:00
Sebastian Dransfeld d4767f9221 Something to do on a dark winter day.
SVN revision: 32950
2007-12-02 20:19:21 +00:00
Sebastian Dransfeld cb0c56abbf If we don't want to show the shelf, explicitly hide it. Needed if the
user moves the mouse along the shelf edge.


SVN revision: 32945
2007-12-02 19:32:32 +00:00
Sebastian Dransfeld 378da822f8 Always focus on mouse in, and only focus if we interract with the shelf.
SVN revision: 32857
2007-11-24 12:35:20 +00:00
Sebastian Dransfeld 306ea57a09 Interrupt hiding on mouse in.
SVN revision: 32856
2007-11-24 12:31:15 +00:00
Sebastian Dransfeld 95baed480c Always hide on mouse out
SVN revision: 32847
2007-11-23 12:03:00 +00:00
Sebastian Dransfeld 48420fb474 Only hide if config says so.
SVN revision: 32846
2007-11-23 12:02:21 +00:00
Sebastian Dransfeld 9dd01a4b9f Fix if statement.
SVN revision: 32839
2007-11-23 09:23:52 +00:00
Sebastian Dransfeld d75ea71282 Remove debug printf
SVN revision: 32838
2007-11-23 09:22:43 +00:00
Sebastian Dransfeld 8304a2cb9e Possible to lock shelf.
SVN revision: 32837
2007-11-23 09:18:21 +00:00
Sebastian Dransfeld 218076320e Set pointer to null after deletion.
SVN revision: 32835
2007-11-23 06:38:08 +00:00
Sebastian Dransfeld 2eb12fddf3 Show shelf on edge trap and hide on mouse out on window.
SVN revision: 32833
2007-11-22 21:39:45 +00:00
Christopher Michael 4f53107d14 Provide gadcon_config wrapper functions for toolbar & shelf. For now, just
used so we can have Toolbar Contents vs Shelf Contents in title.


SVN revision: 32528
2007-11-09 23:53:38 +00:00
Carsten Haitzler d2027e5fd3 and fully handle dynamic screen add/del with xinerama (xrandr 1.2). seems to
work for me adding/removing screens. e moves windows from the old screen to
existing one(s) and creates new zones and any shelves etc. for that zone if
needed etc. etc.


SVN revision: 32111
2007-10-18 09:06:30 +00:00
Sebastian Dransfeld 5075708ff9 formatting
SVN revision: 32006
2007-10-07 16:39:58 +00:00
Carsten Haitzler 43a5794c88 buttom patch from lok and seb's shelf bug fix.
SVN revision: 31974
2007-10-05 06:05:16 +00:00
Christopher Michael 522bf9d56e If user has requested no confirmation dialogs, then do not display one when
deleting a shelf. This fixes bug #232.


SVN revision: 31922
2007-10-01 21:22:51 +00:00
Miculcy Brian aed16d2e23 This allows to have shelfs only on specified desktops. Someone might want to add a nice hide/show animation...
SVN revision: 31619
2007-09-04 23:59:01 +00:00
Christopher Michael e12d3c3a1c Modified shelf id sort to be a bit more complete. This fixes the issue where
shelves were missing from the Shelf Dialog list.


SVN revision: 30862
2007-07-16 20:43:13 +00:00
Christopher Michael 458a6b12b8 Small patch from morlenxus to provide option that will allow an auto-hide
shelf to "unhide" via mouse_in or mouse_click.


SVN revision: 30299
2007-06-10 11:01:41 +00:00
Viktor Kojouharov be1b8a833a don't interrupt the shelf show animation, leaving out a half-shown shelf
SVN revision: 29930
2007-05-10 08:49:14 +00:00
Sebastian Dransfeld 80b32e7c7b Show shelves on dnd enter.
SVN revision: 29915
2007-05-07 19:54:12 +00:00
Sebastian Dransfeld ccdf9f9ac6 Make hiding work on the desktop again.
SVN revision: 29912
2007-05-07 19:16:51 +00:00
Sebastian Dransfeld d1458cd65d Disable auto-hide for below all shelves.
SVN revision: 29911
2007-05-07 18:38:49 +00:00
Sebastian Dransfeld 399b8de152 Keep a hash with winid keys.
SVN revision: 29909
2007-05-07 18:14:28 +00:00
Sebastian Dransfeld 2543573b2b Honor hide_timeout.
SVN revision: 29905
2007-05-07 17:46:25 +00:00
Sebastian Dransfeld 102b43becb Don't user timer to hide shelf.
SVN revision: 29904
2007-05-07 16:37:54 +00:00
Sebastian Dransfeld e84988b710 Trigger show/hide shelf on the ecore_evas, not the evas object.
SVN revision: 29889
2007-05-06 16:52:24 +00:00
Viktor Kojouharov dbdf7283cc fix the incorrectly placed parens. make sure the shelf always hides when the mouse goes out of it. don't hide the shelf when mass editing the gadgets in it
SVN revision: 29744
2007-04-27 20:38:13 +00:00
Sebastian Dransfeld c2538f00c8 Formatting
SVN revision: 29705
2007-04-24 05:04:15 +00:00
Viktor Kojouharov 726d152924 patch by Hannes Janetzek for checking whether the mouse is over the shelf
SVN revision: 29688
2007-04-23 17:21:38 +00:00
Viktor Kojouharov 1157a68929 add an option to automatically re-maximize windows on shelf hide/show, and move away windows that are on top of the shelf away while the shelf is visible.
add more options to fine-tune the autohide in the shelf's config dialog. it needs some UI love though.


SVN revision: 29472
2007-04-11 15:37:04 +00:00
Sebastian Dransfeld 39e228c73a Formatting.
SVN revision: 29448
2007-04-08 21:00:30 +00:00
Viktor Kojouharov a0a2e5c7fc themers can use "instant_delay" "N.M" to tell e when to instantly move the shelf away. that way then can fade the shelves away or use other techniques to give the impression that the shelf is hiding
SVN revision: 29440
2007-04-08 09:32:48 +00:00
Viktor Kojouharov 187c3fcec1 show/hide the shelf when the autohide option is changed. hide the hide-able shelves on startup
SVN revision: 29427
2007-04-06 20:23:45 +00:00
Viktor Kojouharov 641dd49248 Shelf hiding based on Hannes Janetzek's patch.
e,state,hidden|visible are still available to themers, to do something interesting while the shelf is being moved.


SVN revision: 29426
2007-04-06 19:01:29 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld f14e05f082 Delete shelves on shutdown.
SVN revision: 29025
2007-03-24 16:58:49 +00:00
Carsten Haitzler b2a0abb8eb a lot of patches - also my work on moving the IO stuff in e_fm to a slave
process to stop e from ever "locking up". this unfortunately breaks the other
source stuff and thus breaks the app editor config dialogs and anything using
fm2 for .desktop stuff from the e applications/all repo. i am doing this as i
expect this to go away with efreet anyway so not too much of an issue. not
all fm operatiosn work currently - note. so beware. it can view files though :)


SVN revision: 28528
2007-03-02 17:00:20 +00:00
Christopher Michael ecdd19d001 Sort the shelf list before returning it. This keeps the Shelf dialog nicely
sorted on add/del of a shelf.


SVN revision: 28311
2007-02-12 05:49:52 +00:00
Christopher Michael 03c41952cc Reorganize the shelf right-click menu a bit, seperating shelf specific
things into their own sub-menu.


SVN revision: 28212
2007-02-03 06:48:31 +00:00
Sebastian Dransfeld 8ad8769db1 Remove unused variable.
SVN revision: 27597
2006-12-28 14:13:15 +00:00
Christopher Michael 8954bb145b Some formatting love for the ohh so friendly e_gadcon :)
Icons in the shelf menu for Config Contents and Shelf Config.


SVN revision: 27534
2006-12-20 22:40:01 +00:00
Sebastian Dransfeld 1c03446089 Remove undefined functions.
SVN revision: 27452
2006-12-14 19:42:21 +00:00
Carsten Haitzler 1f05439257 1 metric tonne of pooch.
SVN revision: 26867
2006-10-30 10:42:23 +00:00
Carsten Haitzler 5409f4f0cd fix dnd for "below everything"
SVN revision: 26653
2006-10-16 10:40:10 +00:00
Viktor Kojouharov b54e1cdc4c added an option for the shelf to let itself be overlapped by maximized windows
SVN revision: 26282
2006-10-01 20:10:37 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
rephorm f10adb2b65 fallback to default shelf style for frame styles that don't exist explicitly in the current shelf theme. (no need for everyone to re-implement the plain style every time)
SVN revision: 25267
2006-09-01 03:37:43 +00:00
sndev d38f03aea7 Ehhhh. So stuff in one go.
* Mouse Binding Dialog
  - dialog refactoring
  - no need to select modifiers, etc. Just click add button and do an action with a mouse.
  - new icons. Many thanks to Luchezar 'ManowarrioR' Petkov for great work on this icons.
  - extra mouse buttons and wheels are supported.
  - etc, just try and see.

* Shelf
  - No re-population when "plain/inset" mode set.
  - Changing the orientation of the shelf horiz->vert does not screws up it look.
  - something else

* Gadcon
  - No overlaping items in initial shelf.
  - Moving of items in gadcon is not problematic any more. Will not get any mess
    and overlaps in gadcon on moving.
  - Item sizing. If u size an item to the left it will be sized only to the left.
  - If gadcon clients take much more space than gadcon can display, they are resized
    starting from the biggest item(s).
  - Shrinked mode actions, moving/sizing, is not problematic. Everything works
    exactly in the same fasion as in non-shrinked mode.
  - etc.


SVN revision: 25235
2006-08-31 04:16:43 +00:00
rephorm b2fa611d8e repopulate a shelf's gadcon on style change so that any inset gadgets get their styles updated also
SVN revision: 25183
2006-08-29 00:05:56 +00:00
rephorm 462bda0f22 another chunk
all group names prefaced by e/
its entirely possible i missed a few small places in this, so there may be some growing pains in the next day or two

also, spectrum content -> e.swallow.content


SVN revision: 25057
2006-08-23 03:39:02 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00
sebastid fe296600bb Xdnd files from fm to ibar works again.
SVN revision: 24540
2006-08-10 17:48:17 +00:00
Christopher Michael ff0bd38928 Some convenience functions for setting shelf properties without restarting
the shelf.


SVN revision: 24228
2006-07-27 06:21:15 +00:00
Christopher Michael 04ac95cee8 Fix occasional problem that caused a shelf reload from config dialog to
reload the wrong shelf. It is possible to have shelf->id = 0 for first
shelf, so don't use list count for that one.


SVN revision: 24227
2006-07-27 05:13:30 +00:00
sebastid c5dd3b75a2 Always keep shelf list sorted on id.
SVN revision: 24070
2006-07-20 13:36:02 +00:00
Christopher Michael 79b5de57c4 Changed Delete Shelf dialog icon to be the E logo, not the exit icon.
SVN revision: 23554
2006-06-23 07:20:24 +00:00
Carsten Haitzler 3986e8d184 patch from laurent for displaying shelf orientation in dialog (made the icons
smaller too)


SVN revision: 23447
2006-06-15 13:09:21 +00:00
Carsten Haitzler 7ea19245d7 todo-- :)
SVN revision: 23444
2006-06-15 07:24:10 +00:00
sebastid d02863b3bd Check for correct type
SVN revision: 23303
2006-06-08 19:28:46 +00:00
sebastid 715a64d5fe Fix warnings
SVN revision: 23032
2006-05-31 18:58:26 +00:00
sndev b8ed636f52 1. The confirmation dialog on shelf delete is added. Somebody on IRC proposed to have it.
Also it is added on Key Binding deletion (see Key Bindings dialog).

Code duplicates were moved to a separate function e_confirm_dialog_show.

2. Two new events E_EVENT_BORDER_FOCUS_IN and E_EVENT_BORDER_FOCUS_OUT are added.


SVN revision: 22844
2006-05-22 20:28:33 +00:00
Carsten Haitzler 2249f9bf0d better labels2
SVN revision: 22720
2006-05-18 21:33:03 +00:00
Carsten Haitzler a300b332f8 better label
SVN revision: 22719
2006-05-18 21:31:18 +00:00
Carsten Haitzler e42300bd25 and actually delete the shelf config too
SVN revision: 22609
2006-05-14 07:18:57 +00:00
Carsten Haitzler 62034acf5a remove icon path - really useless info you probably shouldnt change anyway as
this will confuse things.


SVN revision: 22604
2006-05-14 02:38:14 +00:00
Carsten Haitzler 53f3e5dcd0 move bar directory down 1 level so all "bar" dirs are in their own domain -
makes listing available bar dirs, managing them and so on much simpler and
cleaner. also add label popups to ibar (finally).


SVN revision: 22502
2006-05-10 07:42:39 +00:00
Carsten Haitzler 4eb3eef328 pager handles res change/rotate properly again now.
added some todo items.
it's "interesting" running in 1200x1600. mmm yum. very tall windows. lots of
code!


SVN revision: 22461
2006-05-05 04:47:57 +00:00
Carsten Haitzler 362b6bb159 NOW we can add/del shelves... still not done.
SVN revision: 22414
2006-04-30 09:31:31 +00:00
Carsten Haitzler afe18a2157 now config comes off a menu as does editing of items
SVN revision: 22318
2006-04-23 13:20:57 +00:00
Carsten Haitzler ea0876f7c8 start of some shelf config - START only... deal with it. debugging printfs
galore.


SVN revision: 22308
2006-04-23 06:56:22 +00:00
Carsten Haitzler fbd972cdb9 e packages build again - also not much point having an enlightenment-data as
it's built as an arch specific package and it is intrinsically required by e
and cannot work without it nor is the data shared betwene e and other apps
unless e itself is installed too


SVN revision: 22260
2006-04-20 11:30:25 +00:00
Carsten Haitzler 227d31fbf5 we were getting duplicate events for popups. fixed now! :)
SVN revision: 21893
2006-04-06 07:26:11 +00:00
Carsten Haitzler 51c1084431 more shelf work - getting there.
SVN revision: 21847
2006-04-05 14:00:32 +00:00
Carsten Haitzler cc6b6a326c add frame object selection ability - broke move of the framed "ibar" test.
need to fix framed gadcon clients to account for frame size.


SVN revision: 21807
2006-04-04 15:42:25 +00:00
Carsten Haitzler 7f422515a1 different shelf look - imho much nicer now.
work on some mroe shelf stuff - like autofit. i need to add a lot more hooks
for things and info.


SVN revision: 21802
2006-04-04 09:54:50 +00:00
Carsten Haitzler 218b8215bc some more work on shelves/gadcon
SVN revision: 21778
2006-04-03 14:01:00 +00:00
Carsten Haitzler 2485636164 start code on moving shelves... need to complete this with resizing too...
and do it all properly


SVN revision: 21511
2006-03-26 06:06:57 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
Carsten Haitzler 62ca6a2cbc de-uglify desklock gfx - make it ask for your passowrd if you havent set one
up (config dialog instead of lock) and make it a menu item for obvious access
:)


SVN revision: 20808
2006-02-27 06:35:56 +00:00
Carsten Haitzler abab75bfa0 more work on shelfy bits
SVN revision: 20517
2006-02-16 09:27:37 +00:00
Carsten Haitzler fce2c3b1fc working on shelf config
SVN revision: 20515
2006-02-16 06:32:54 +00:00
Carsten Haitzler 477a40e79b working on shelves
... and a bit on gadcon.


SVN revision: 20456
2006-02-14 13:09:01 +00:00
Carsten Haitzler daccad473b more gadcon work... oooh getting close.
SVN revision: 20383
2006-02-10 12:21:22 +00:00
Carsten Haitzler 93cec27126 working on gadcon - it has a special smart object layout of its own that is
designed to optimally help lay out gadgets in a 1 d list along an interval
and do the right thing shoudl that interval change size etc.


SVN revision: 20285
2006-02-05 08:17:40 +00:00
Carsten Haitzler 19d04b63db shelves... for holding gadcons. now i have a test shelf ... i can go back to
gadcon


SVN revision: 20272
2006-02-04 06:45:13 +00:00