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