Commit Graph

386 Commits

Author SHA1 Message Date
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 a9918f881b Fix for missing menu entries...
SVN revision: 51753
2010-08-30 15:14:25 +00:00
Christopher Michael f467fa997c Fix compiler warning about integer from pointer without cast.
SVN revision: 51588
2010-08-23 20:47:01 +00:00
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael 08b96de3c8 Fix lots of compiler warnings about unused paramters & functions.
SVN revision: 51308
2010-08-18 18:15:31 +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 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
Christopher Michael e4445da78f Some cleanup to reduce duplicated code. (One function to del them all) :)
SVN revision: 26670
2006-10-17 08:04:40 +00:00
Christopher Michael 56e0793198 Leaks-be-gone. Thanks metrics, rephorm :)
SVN revision: 26664
2006-10-17 03:10:27 +00:00
Carsten Haitzler e46db8b050 be more lenient on valid exe's in ibar, e apps, menus.
close fwin's if dir is deleted.


SVN revision: 26657
2006-10-16 14:26:02 +00:00
Christopher Michael a969a17416 As per discussions with raster, refactor the Desktop menu and include a
Shelves sub-menu.


SVN revision: 26639
2006-10-16 01:58:06 +00:00
David Walter Seikel 7c0a338514 Make directory icons work in the menus. I love it when I can make code vanish.
SVN revision: 26601
2006-10-14 12:07:45 +00:00
rephorm 3ef2c6a26e fix segv. bad devilhorns! :)
SVN revision: 26593
2006-10-14 06:14:16 +00:00
David Walter Seikel 72e7b91b3f The directory icons will be called .directory as per the FDE spec. This
will likely be implemented later today.


SVN revision: 26580
2006-10-14 01:02:16 +00:00
Christopher Michael 6eef368ae4 Fix icon assignment for "Cleanup Windows"
SVN revision: 26571
2006-10-13 19:50:50 +00:00
David Walter Seikel 0973d242c0 Removed some more obsolete .eap code.
SVN revision: 26553
2006-10-12 14:27:52 +00:00
Christopher Michael 9200c892c3 Added action wrapper for "Cleanup Windows"
SVN revision: 26544
2006-10-11 23:53:39 +00:00
manowarrior 6c1b5c0ab8 Include our Applications icon in the main menu.
SVN revision: 26525
2006-10-11 17:51:57 +00:00
Carsten Haitzler 1be65c8038 working on fwin... :)
SVN revision: 26274
2006-10-01 12:05:33 +00:00
Carsten Haitzler 61bf1c59c6 breking out fm2 into a window and scrollframe in fwin - start of a generic
filemanager window. this is more for me to test dnd code and get that all
going right etc. etc. so BEWARE. yes it doesnt do a lot of things right - i
know. am working on it. :)


SVN revision: 26210
2006-09-29 06:49:35 +00:00
Carsten Haitzler d3765d8d8e font upsize with more outlining/contrast by default for soem modules.
sysactions more comprehensive and able to handle multiple groups a user
is a member of - config modified to handle common ones i find on debian
and ubuntu that "console" users tend to be added to. add divider in config
menu. work a tad more on fm2 dnd.


SVN revision: 26186
2006-09-28 06:07:15 +00:00
Carsten Haitzler c7c93288aa leak-- : someone forgot to delete the all apps menu... :)
SVN revision: 26124
2006-09-24 23:08:36 +00:00
sebastid 1251802479 Don't strdup homedir
SVN revision: 26026
2006-09-22 19:55:11 +00:00
David Walter Seikel f13f782689 Use the ecore_desktop instrumentation at useful points.
SVN revision: 26023
2006-09-22 10:12:32 +00:00
sebastid 4e81527304 Cleanup.
- Remove unused variables.
- Add const where needed.
- Add return values.


SVN revision: 26002
2006-09-21 19:53:38 +00:00
David Walter Seikel 42c93f28de directory .eaps are obsolete, but I havn't pulled my finger out to
finish the FDO directory code I have half completed.  For some strange
reason, this triggers a crash in rsvg, trying to get it to load a .eap
file.  That is strange in itself.  More investigation is required by
someone that knows evas better than me.


SVN revision: 25960
2006-09-18 14:07:16 +00:00
Carsten Haitzler 04d99e3df8 main menu cleanups.
sys actions check error/status etc. logout implemented, and used. need to
have status for reboot/halt and for suspend and hibernate.


SVN revision: 25656
2006-09-09 07:00:14 +00:00
Christopher Michael 7f5c32cead Reboot should really come before Shutdown in the menu.
SVN revision: 25479
2006-09-05 03:30:36 +00:00
Carsten Haitzler dd27dba91a applications instead of all applications - nicer - simpler.
SVN revision: 25398
2006-09-03 10:18:33 +00:00
Carsten Haitzler 34d6645d66 lots of freaky stuff.
1. cleaned up actions for restart and exit
2. made main menu cleaner in just using the actions
3. added ilits unselect calls for ilist smart and widget
4. patch for cpufreq to set all cpu clocks
5. fix battery module to handle broken acpi impl's that don't report drain rate
6. add e_sys subsystem - for executing system sensitive stuff like halt, reboot
   suspend, hibernate etc. this also covers exit, restart and logout. logout
   is currently dormant and just an action - not bound or in a menu. not
   complete anyway (no code for it). halt and reboot should probably use
   logout logic to shut down apps - i will recycle it. i added a suid root
   binary to do the actions - uses a system config (default one supplied that
   is secure - root will need to modify it to allow things).
7. fixed suid install hook for cpufreq
8. added sysconf dir to build for sys config file.
9. pants on


SVN revision: 25395
2006-09-03 08:51:32 +00:00
David Walter Seikel 0a4101f9ea Add all apps config dialog to the config shortcut menu.
SVN revision: 25330
2006-09-02 07:20:06 +00:00
David Walter Seikel d3de4f4e95 Beginning to drag all the basic "show this icon for this app" code
together in one place to make it easy to keep it consistant.


SVN revision: 25273
2006-09-01 09:01:52 +00:00
Christopher Michael 40aa3ecdce Check that 'alt' actually has something in the list before going through it.
Basically did this to remove the extra separator that was getting added even if
'alt' did not contain anything in the list.


SVN revision: 25237
2006-08-31 05:01:48 +00:00
Carsten Haitzler 109157dc27 was hacking a bit with borders and desktops - just ignore that codee. it's
unused - at the moment.


SVN revision: 25210
2006-08-30 13:37:35 +00:00
David Walter Seikel ce47aca673 Started a new applications config dialog. The idea is to drag and drop from the
left side to the right side, or to ibar and other places.  Just the
skeleton for comment while I make it work.

Some filtering and categorising widgets are needed for the left side.
The right side needs to show the contents of the .order files, and
prevent the user from deleteing standard directories, while enabling
them to create and delete sub menus.  Probably fm is not a good choice for
the right side.


SVN revision: 25172
2006-08-28 11:22:27 +00:00
David Walter Seikel 7705dfc9b1 Added Drag'n'Drop from application menus to ibar and anything else that
can accept an E_App drop.


SVN revision: 25034
2006-08-22 08:38:24 +00:00
David Walter Seikel 49c524e4c7 Add a temporory FDO menu rebuild button.
SVN revision: 25030
2006-08-22 02:05:58 +00:00
Viktor Kojouharov d0751b3258 removed e_menu_item_icon_object_set as it could have never worked properly.
now, the menu icon can be set properly upon realization with the e_menu_item_realize_callback_set function. rewrote the clients menu to use the border icon, and be sorted like the winselector.


SVN revision: 25026
2006-08-21 20:03:09 +00:00
David Walter Seikel 4bf92f25f8 New menu structure.
~/.e/e/applications/menu/all
~/.e/e/applications/menu/favorites

The first one is all the converted FDO menus, which will track changes
to those menus.  The second one is the original favorites menu, which
the user can edit to their hearts content.

WARNING - will break your Favorite menus, coz it has moved.


SVN revision: 24979
2006-08-21 04:35:52 +00:00
David Walter Seikel 3d29c9caf7 Actually display the FDO icons referenced from the FDO .desktop files.
Theme icons and .eaps are searched first.

Still needs some work and a lot of testing.  Also needs optimising,
which will come when I go over the caching code later.

Ibar and ibox modules read the .eap directly, so I need to convert them
seperately.

Next I'll spend some time with valgrind, things are leaking.


SVN revision: 24795
2006-08-16 09:37:14 +00:00
Carsten Haitzler 2c0daf0b4b simplify quality/perfect settings
SVN revision: 24624
2006-08-13 02:40:11 +00:00
Carsten Haitzler d104992051 * border property patch - dont generate on moves
* entry dialog becomes object - supports initial text contents of the entry
* fm2 gets menu patch (heavily worked so its safe) so u can delete and rename
files (and dirs) that you have permission to do so with.
* picutre importing disables or enables the scale and encoding stuff
depending on what is selected
* more widgets support enable/disable
* importer detects duaplicate destination target filenames and tries
alternate names.
* fsel widget displays extensions by default.
* test filemanager menu gone
* pants on!


SVN revision: 24589
2006-08-12 12:49:52 +00:00
sebastid 9d81bc08ce Menu titles
SVN revision: 24507
2006-08-09 15:24:34 +00:00
Carsten Haitzler 9266f27f0f aaah....
first a few patches - authors mailed.

then - bg selector work. and a few sample bg's. system bg's dir and user bg
dir - new bg dialog should also handle multihead simply too. picture select
button does work - but its only as smart as the old one (the code was built
off the old one). that needs a little work, but now the bg selector is fast
and slick - comes up instantly. resiable too.


SVN revision: 24443
2006-08-07 20:25:34 +00:00
Viktor Kojouharov fdde0e6490 zone != desk. it was always about per desk deskshows, not per zone.
SVN revision: 24088
2006-07-21 00:46:40 +00:00
sndev e17acdd520 * New icon for the "Screen Lock" item in the E config panel.
SVN revision: 23990
2006-07-17 18:24:16 +00:00
Carsten Haitzler 637b665ddc adding polish to e17's icons... well a bit more. if anyone who can't code -
but can draw well... feel free to want to contribute with nice icons (nb -
keep them neutral so they look good almost anywhere)


SVN revision: 23648
2006-07-02 12:51:57 +00:00
xcomputerman 2bad0081c3 Usability++;
(Put some useful items in the config menu)


SVN revision: 23582
2006-06-25 08:59:32 +00:00
sebastid e4ef683139 Fix warnings
SVN revision: 23298
2006-06-08 19:04:16 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
Carsten Haitzler 3a2144cad0 nice little overhaul of module related stuff. moduels now finally RELY on
module.eap files being installed - and using the e_apps api to load them and
ask for a name. Also icon is expected to be in this file too and i have
removed the info func call from modules as well as config_menu, module menus,
and other cruft in moduel structs. this also means revving the module api
version and saving users from a "if i recompile it will work" thing. :)
moduels need serious updates, not just a recompile for this. your modules
WILL break.


SVN revision: 23045
2006-06-01 06:44:37 +00:00