Commit Graph

330 Commits

Author SHA1 Message Date
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 8db097c619 fix dnd from menu bug.
SVN revision: 49302
2010-05-29 14:55:47 +00:00
Gustavo Sverzut Barbieri 367b87e1cb don't show "Lost Windows" on main menu. It is already in "Windows" submenu.
This makes the first level of the menu simpler. If you want the "Lost
windows" on the main menu back, make sure you remove the "if (dat)"
branch inside _e_int_menus_clients_pre_cb() otherwise you get duplicated menus.



SVN revision: 49199
2010-05-25 18:22:48 +00:00
Gustavo Sverzut Barbieri eade689804 set dat as client's sub menu so it does not show the title.
SVN revision: 49198
2010-05-25 18:00:36 +00:00
Hannes Janetzek 5d71e61b91 dont skip windows that should only not be shown in taskbar.
SVN revision: 48785
2010-05-12 18:33:05 +00:00
Sebastian Dransfeld fadcb01bcb efreet: better naming
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Sebastian Dransfeld bf86564fea TODO++
SVN revision: 47514
2010-03-27 19:58:44 +00:00
Christopher Michael 3bc257bf8d Fix up formatting.
SVN revision: 46625
2010-02-27 22:51:19 +00:00
Daniel Kolesa fd63280f2e Merge configmenu from extras with Configuration Panel module(after discussion with raster). For this, I added API to disable or enable any augmentation point from any module and later enable it again. Thanks to this merge, you can have configuration panel categories directly in main menu, replacing old items like Gadgets in that submenu. You can easily switch to old style from Advanced->Configuration Panel, if the module is disabled it is the old style of course. Also I removed configmenu from emodules when it is not needed anymore.
SVN revision: 46587
2010-02-27 17:04:55 +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
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 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 8b22937367 usability: sort menus, always keep same order.
maybe this is too much for a feature freeze phase, but this is
annoying for users, sometimes your menu looks one way, sometimes
another. Now it will always look the same, alphabetically ordered.

If it breaks anything before Monday revert!


SVN revision: 40205
2009-04-19 06:21:35 +00:00
Gustavo Sverzut Barbieri 3b733a2081 fix some problems with eina_hash usage.
SVN revision: 40204
2009-04-19 05:18:01 +00:00
Iván Briano e5478eb0e3 Don't leak.
SVN revision: 40100
2009-04-16 04:48:46 +00:00
Gustavo Sverzut Barbieri e0040cefb9 major cleanup of path creation to $DATADIR and $HOME/.e/e
This cleanup replaces snprintf() usage with specific calls, they have
the benefit of being cleaner (so easier to grep), typing less and also
marginal speed up compared to the other (specially concat_static),
although those are rarely used in critical paths.

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




SVN revision: 40014
2009-04-13 14:56:38 +00:00
Viktor Kojouharov 9a303630ae shorten some strings
SVN revision: 39886
2009-04-06 21:22:12 +00:00
Carsten Haitzler 7657cb3644 lost windows.. back!
SVN revision: 39652
2009-03-23 13:04:02 +00:00
Gustavo Sverzut Barbieri 811f193535 use safe version to free sub menus.
SVN revision: 39648
2009-03-23 11:46:14 +00:00
Carsten Haitzler bf37a93c2e more leak--!
SVN revision: 39646
2009-03-23 10:19:13 +00:00
Carsten Haitzler 2e36885899 nuke segv in fm and leaks in menus.
SVN revision: 39644
2009-03-23 09:36:11 +00:00
Christopher Michael be28e1636b Formatting & Whitespace fixes. Also, don't segfault when removing menus.
SVN revision: 39497
2009-03-15 19:12:50 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


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


SVN revision: 39494
2009-03-15 17:06:18 +00:00
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
Davide Andreoli fc66fc7c73 More icon renamed, for more info look at default.edc (around line 22650). I'm keeping there a mapping between e old names and fdo ones.
SVN revision: 39374
2009-03-05 02:39:50 +00:00
Davide Andreoli 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
Gustavo Sverzut Barbieri cb629d5a56 More FDO icons work, now able to choose which one has precedence.
SVN revision: 39355
2009-03-04 02:56:27 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +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
Christopher Michael 8010e152c1 If syscon module is not loaded (since it's broken right now), then we don't
need an additional separator at the bottom of the menu.



SVN revision: 37858
2008-11-29 18:47:29 +00:00
Carsten Haitzler 5a29e1f6b5 syscon module added - provides a system entry in main menu (build in one gone
now). syscon has a poup with buttons (configurale) that offer all the
logout/reboot etc. stuff. also able to extend with more items or inline them
into the theme too.

not complete. need config for being able to extend the syscon popup (and use
it) and no gui config for configuring what should appear and how it should
look. possibly theme should have custon elements for the ones curently using
button + icon look. also no keyboard control.



SVN revision: 37797
2008-11-25 08:05:58 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33: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 57c6606f50 We may want to use the about icon for the about menu item.
SVN revision: 36839
2008-10-20 07:52:22 +00:00
Chidambar Zinnoury 4a85950f88 Add preview of desktops' background on main menu's desktop selector.
Yes, I know, this one is purely for eye-candiness, but there was some empty space only waiting for us to fill it... :D


SVN revision: 36792
2008-10-18 18:43:09 +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
Chidambar Zinnoury 3ba1e1c6bd Check for desktop entries' non-emptiness before using them (no check for name as I eexpect them to always be non-empty).
SVN revision: 36471
2008-10-06 05:55:53 +00:00
Sebastian Dransfeld ec395ca318 To fit a square icon into a rectangle, find the min side length.
SVN revision: 35573
2008-08-19 05:59:12 +00:00
Sebastian Dransfeld 3199439ed8 fix against efreet API breakage
SVN revision: 35492
2008-08-14 20:49:37 +00:00
Carsten Haitzler 99fc29f7aa and respect focus lock out flag more
SVN revision: 35431
2008-08-11 01:22:33 +00:00
Eric Schuele 66dde291b8 Per Devilhorns: General cleanup.
SVN revision: 34112
2008-03-25 16:48:14 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Christopher Michael ff2a1e5aba Remove commented Files block, This really doesn't need to be here anymore as
the module handles the menu augment.


SVN revision: 31548
2007-08-27 09:01:46 +00:00
Christopher Michael d0578eb3cb Lots of cleanup (Remove unused variables & functions)
SVN revision: 31468
2007-08-23 09:45:30 +00:00
Christopher Michael 7935a4da9f Adding fileman as a module. This commit includes necessary changes to
e_zone, e_int_menus, etc, etc to make this happen.


SVN revision: 31258
2007-08-12 09:57:24 +00:00
lok aec4cc9204 Fix the segv at restart.
SVN revision: 31203
2007-08-07 11:46:19 +00:00
Carsten Haitzler a9ad787fe2 remove old config callback
SVN revision: 31186
2007-08-05 10:15:37 +00:00
Carsten Haitzler c3fc770dce config panel now is a module - just config registry is in core e.
SVN revision: 31184
2007-08-05 08:07:39 +00:00
Miculcy Brian 3bfec3d628 Move fixed menu entries into modules.
SVN revision: 31139
2007-08-03 15:57:27 +00:00
Sebastian Dransfeld ecaedc0e95 Formatting.
SVN revision: 31128
2007-08-03 05:29:40 +00:00
Carsten Haitzler 7c50b360d8 another example - exebuf goes to a module. it's even a godo demo of how a
moduel can extend the default action set (and remove its action) as well as
extend the default menus.


SVN revision: 31103
2007-08-01 12:37:01 +00:00
Christopher Michael 07af012e92 If the Virtual Desktops module is not loaded, don't show the Configure
Virtual Desktops menu entry in Desktop sub-menu.


SVN revision: 31051
2007-07-28 20:51:30 +00:00
Sebastian Dransfeld 175c2ab88d Only free data when needed.
SVN revision: 30991
2007-07-26 12:02:22 +00:00
Sebastian Dransfeld f89368f089 Update for changes in efreet.
SVN revision: 30987
2007-07-26 11:34:09 +00:00
Peter Wehrfritz a6553c1a58 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Christopher Michael 7b5f6d55bf Fix Bug #88.
- Make the Show Name, Show Generic, Show Comments options for the menus
work again.


SVN revision: 30688
2007-07-09 18:12:56 +00:00
Carsten Haitzler 371504515f abstract config dialogs more - include params.
SVN revision: 30588
2007-07-04 11:11:03 +00:00
Carsten Haitzler 88bb37a1cb start abstracting out config dialogs a bit...
SVN revision: 30573
2007-07-03 15:19:09 +00:00
Christopher Michael c19205a09a Added an option, by request, to disable display of Favorites or Applications
on the main menu.


SVN revision: 29971
2007-05-12 22:40:03 +00:00
Eric Schuele 63759d0553 Hide the "Favorite Applications" menu item if there is no favorite.menu file.
SVN revision: 29657
2007-04-22 15:58:58 +00:00
Eric Schuele 4f1c60dba9 Add checkbox to allow users to enable or disable the clientlist caption length limit.
SVN revision: 29473
2007-04-11 21:40:53 +00:00
Sebastian Dransfeld be4e8f3c9c Bad me, use calloc.
SVN revision: 29414
2007-04-06 09:55:16 +00:00
Christopher Michael cca25de9a3 Some fixed for Favorites Editor & ilist issues.
Add edit dialog for ibar/startup/restart.
Remove 'Application Menus' from e_int_menus until a full Menu editor is made.

Can now edit ibar/startup/restart & Favorites.


SVN revision: 29403
2007-04-06 01:00:54 +00:00
Sebastian Dransfeld caf4ef56d4 Make e compile.
SVN revision: 29402
2007-04-06 00:08:17 +00:00
Sebastian Dransfeld 260d229f07 - No need to use calloc.
- Use const char to store pointers to title.


SVN revision: 29376
2007-04-05 15:36:37 +00:00
Carsten Haitzler 104a847300 cedric's patches.
SVN revision: 29353
2007-04-04 13:25:55 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld 47ad22217e Convert borders to efreet.
SVN revision: 29131
2007-03-25 17:23:49 +00:00
Sebastian Dransfeld 8bffc7da53 Convert menu completely to .desktop
SVN revision: 29058
2007-03-24 22:58:40 +00:00
Sebastian Dransfeld b1089b1d56 Create menu directly from fdo menu.
SVN revision: 29034
2007-03-24 18:45:36 +00:00
Sebastian Dransfeld 0ad59a25b0 No reason why favorites shouldn't be enabled.
SVN revision: 29032
2007-03-24 18:19:50 +00:00
Sebastian Dransfeld faf9f548bf Merge all app executing into one function.
SVN revision: 29026
2007-03-24 17:42:12 +00:00
Christopher Michael 310eca0636 Ravenlock's patch to allow client list to show windows from other screens
(xinerama/multi-head).


SVN revision: 28702
2007-03-13 18:03:19 +00:00
Christopher Michael d03023d848 Remove some unused varaibles and unused functions.
SVN revision: 28651
2007-03-11 05:54:07 +00:00
Christopher Michael 4c2a42eaa6 Patch from ravenlock for client list sorting by Most Recently Used &
stacking layer.

Nice Work :)


SVN revision: 28516
2007-03-01 21:39:06 +00:00
Christopher Michael 0ac7567560 Fetch the border name(s) once and reuse them.
SVN revision: 28409
2007-02-21 01:03:37 +00:00
Christopher Michael 3829bb230b Ravenlocks 'Client List Configuration' patch. Allows users to configure
different options for the Client List Menu: Grouping, Separators, Sort
Order, etc, etc.


SVN revision: 28406
2007-02-21 00:05:27 +00:00
Christopher Michael 4e8ecd0631 Ravenlock's Window client list submenu patch, slightly modified.
- Changed Icon.
  - Minor formatting.
  - Removed extra separator if there were no windows on other desks.


SVN revision: 28390
2007-02-18 11:46:56 +00:00
Sebastian Dransfeld d7959c6895 - Fix return value.
- Add missing header.


SVN revision: 28334
2007-02-13 02:04:09 +00:00
Sebastian Dransfeld 763138f5b8 - Remove unused variables.
- Fix if check.
- Fix return value.


SVN revision: 28333
2007-02-13 02:02:38 +00:00
Christopher Michael 21e22d250e Keep a separator above 'Cleanup WIndows' menu item.
Some minor formatting fixes.


SVN revision: 28313
2007-02-12 06:09:58 +00:00
Christopher Michael 247c61d3b6 Slightly modified (formatting) patch from Ravenlock <ravenlock@tx.rr.com> to
add separators to the client list. Current desk is always at the top,
other clients are grouped by desk with separators between.


SVN revision: 28312
2007-02-12 06:01:39 +00:00
Christopher Michael 5bb475270f Change "desklock" menu icon to go with other system menus.
SVN revision: 27865
2007-01-08 05:25:07 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Miculcy Brian b15bf70823 Show 'Add A Shelf' even if we don't have a single shelf.
SVN revision: 27687
2006-12-30 23:42:03 +00:00
Sebastian Dransfeld 941564999b Fix border icon drag.
e_app_* functions should have E_App arg first.


SVN revision: 27593
2006-12-28 13:43:30 +00:00
Miculcy Brian 2b835c60eb Standalone windows menu does now have a title.
But how should i set this for the (favorite) applications menu...? Will add that later.


SVN revision: 27341
2006-12-03 21:25:47 +00:00
Carsten Haitzler 815e1699c7 patches from people (see mail list) and stuff.
SVN revision: 27174
2006-11-19 08:58:05 +00:00
David Walter Seikel 0bd99e37b5 All instances of the apps config dialog are now specialized to their task,
so that the plethora of meaningless directories is no longer presented to
the user.  The bits of text all change to suit the task.  Sort was changed
to all to help reduce the confusion.


SVN revision: 27140
2006-11-16 17:44:20 +00:00
David Walter Seikel 563ba75528 Allow the favorite apps menu to be completely disabled. Also at rasters
request, allow the fm menu item to be disabled.


SVN revision: 27005
2006-11-07 22:46:24 +00:00
Carsten Haitzler 2d6e2acf4b oh main menu is much nicer now - compact. better organised.
SVN revision: 26696
2006-10-19 14:35:13 +00:00
Carsten Haitzler 2e9372fddb oops broke middle mouse menu
SVN revision: 26686
2006-10-18 14:56:22 +00:00
Carsten Haitzler 6b83695a26 shuffle main menu about a bit
SVN revision: 26682
2006-10-18 12:17:29 +00:00