Commit Graph

4353 Commits

Author SHA1 Message Date
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 145fc680ff shorten system action text - simpler. also fix actiosn to be system.
SVN revision: 38698
2009-01-22 20:54:26 +00:00
Carsten Haitzler fd8cb46a11 syscon -> labels!
SVN revision: 38695
2009-01-22 05:41:33 +00:00
Carsten Haitzler a65708abbd clean up wiz
SVN revision: 38694
2009-01-22 04:42:16 +00:00
Gustavo Sverzut Barbieri 1bfaf61168 Re-break gadcon so everything works correctly.
according to raster e_gadcon_canvas_zone_geometry_get() was supposed
to return zone-relative coordinates, but it was implemented
incorrectly and everything now depends on absolute coordinates, so
let's keep it absolute.



SVN revision: 38589
2009-01-15 01:02:32 +00:00
handyande 61801ee22d Fixup compile / link errors with OSX, still having a small issue with the batter module linking, but getting there
SVN revision: 38570
2009-01-13 16:30:37 +00:00
Gustavo Sverzut Barbieri 78c70d7f94 fix sting bugs with e_fm and fileman.
* simplify eina_stringshare usage with _eina_stringshare_replace();
 * do not modify the string in stringshare as in e_fm2_parent_go();
 * use custom_theme_content instead of custom_theme in e_fm2_custom_theme_content_set().

Hopefully this will break nothing, but further analysis if it's
leaking strings in the stringshare should be done.



SVN revision: 38559
2009-01-12 19:52:35 +00:00
Gustavo Sverzut Barbieri f3c5819ff3 gadcon: fix bugs reported by llvm clang static analyser.
Some cases like not having o_base and o_frame are impossible, but I
added the cheap "else return;" just to keep it quiet. But some cases
were really bugs and were fixed.



SVN revision: 38556
2009-01-12 18:31:49 +00:00
Gustavo Sverzut Barbieri b776893961 Remove useless check, flag functions as not receiving NULL.
Caught by CLang, these functions will never receive NULL, so no point
in testing that.



SVN revision: 38555
2009-01-12 17:40:09 +00:00
Gustavo Sverzut Barbieri 9dc52497b2 oops, just lock shelf if configured to do so.
SVN revision: 38535
2009-01-10 14:17:42 +00:00
Gustavo Sverzut Barbieri 4ae928cf1a gadcon popup should lock shelf.
It's nasty to have shelf auto-hided when you have a popup like mixer
or battery warning, so gadcon popups will now lock shelf while they're
visible.

Developers can go back to old behaviour setting the appropriate flag
with e_gadcon_popup_shelf_lock_set().



SVN revision: 38530
2009-01-10 07:35:53 +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
Gustavo Sverzut Barbieri 6ff4dd8387 Action to show shelf.
It's so annoying have to move mouse to screen border in order to show
shelfs. This way we can do a key bindings to do so.

One can use glob (uses fnmatch) to limit shelves by name.


SVN revision: 38527
2009-01-10 04:20:06 +00:00
Cedric BAIL f40d7a1047 Early init eina, should fix #114.
SVN revision: 38500
2009-01-08 10:58:55 +00:00
rephorm 1d5e47c995 Allow immediate saving when creating a new icon and don't delete the image file when hitting OK.
SVN revision: 38486
2009-01-07 02:41:20 +00:00
Carsten Haitzler 6beedeeda2 only use evdir.. if its there.
SVN revision: 38478
2009-01-06 07:55:03 +00:00
Carsten Haitzler 32f6b5c391 this apparently fixes some fullscreen maximising issues
SVN revision: 38461
2009-01-05 13:07:19 +00:00
Carsten Haitzler 602727dd8e allow check widget to have a file path for icon.
SVN revision: 38460
2009-01-05 12:55:19 +00:00
Carsten Haitzler 5a86551e76 fix things that broke after utils moved to lib/e/subdir
SVN revision: 38418
2009-01-02 11:19:06 +00:00
Carsten Haitzler 0c41ae041e move internal binaries to subdir - patch from albin
SVN revision: 38414
2009-01-02 01:08:14 +00:00
Cedric BAIL d068510da3 Remove warning generated when requesting data from hash without key.
SVN revision: 38347
2008-12-29 12:40:49 +00:00
Cedric BAIL 5a75b84524 Calling e_object_del will make an attempt to remove object from actions
hash. So do it later.


SVN revision: 38189
2008-12-17 16:36:12 +00:00
Cedric BAIL c15693083e Remove __UNUSED__ as it doesn't make sense here.
SVN revision: 38188
2008-12-17 16:17:08 +00:00
Cedric BAIL be8de8a554 Create the hash anyway as we are about to add something to it. This will remove
some warning about eina_hash_population on NULL hash.


SVN revision: 38187
2008-12-17 16:14:10 +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 580e7b68c9 avoid o_box being null by creating early.
SVN revision: 38081
2008-12-10 10:48:42 +00:00
Carsten Haitzler c39847eb5e fix double-manage of windows on start!
SVN revision: 38040
2008-12-09 05:16:52 +00:00
Gustavo Sverzut Barbieri ebcb9f85a7 build infra improvements.
* configure.ac:
   - require C99 compiler;
   - disable F77 and CXX checks;
   - per-binary (program) flags, reduce linkage;
   - every module can be optionally compiled;
 * src/bin:
   - Makefile.am: per-binary libs, reduce linkage;
   - just add LIBS to LDADD and LIBADD, not LDFLAGS!
   - e_sys_main.c: rewrite using proper eina, avoid linking with evas.
 * src/modules:
   - just add LIBS to LDADD and LIBADD, not LDFLAGS!
   - every module can be optionally compiled;



SVN revision: 38009
2008-12-08 01:39:33 +00:00
Carsten Haitzler 81c91f034a char is used for numeric values... thus should be explicitly signed!
SVN revision: 37991
2008-12-07 21:57:11 +00:00
Gustavo Sverzut Barbieri 1d214683a9 e_fm2: view mode is back!
As I suspected it was not error on my code. At the end it was just a
missing theme.

For now I just aliased default to desktop, but I guess it's better to
come with something else transparent so we can see our
wallpaper. Themers?!

PS: for Illume I think it makes sense to have that menu, but for
desktop it does not, maybe we should add more flags to turn off just
view mode selection and keep icon size? Or just turn off lists... or
just let the user choose, there are many strange users out there, one
might like it.



SVN revision: 37983
2008-12-07 13:53:25 +00:00
Carsten Haitzler f4afa96251 gtk and qt have bizarrely wrong logic. for every configure request they
EXPECT a configurenotify to match. this is wrong. wm's are free to ignore
configurerequests if they liek - and dont have to thus send
configurenotifies...



SVN revision: 37922
2008-12-04 10:07:16 +00:00
Viktor Kojouharov c35a5edffd one too many breaks
SVN revision: 37917
2008-12-03 22:21:17 +00:00
Carsten Haitzler 99be358466 mark it with a comment
SVN revision: 37900
2008-12-02 03:46:50 +00:00
Carsten Haitzler c42fa8aa76 unfortunately disable.. breaks! need to find exactly why and fix though...
SVN revision: 37897
2008-12-02 02:29:50 +00:00
Gustavo Sverzut Barbieri 4ee50ae10c Dynamic change of icon size in EFM.
Still not persistent.


SVN revision: 37875
2008-12-01 04:38:27 +00:00
Gustavo Sverzut Barbieri ff06c79462 Enable changing view mode for a single directory.
So far no icon size changes, just mode between Grid Icons, Custom
Icons and List, one can choose to go back to default (global) setting.

TODO:
 - select icon size when !list
 - save state using e_fm_custom
 - child directory should inherit parent settings



SVN revision: 37873
2008-12-01 03:29:45 +00:00
Gustavo Sverzut Barbieri 365ac21772 Oops, compare just prefix!
SVN revision: 37864
2008-11-30 05:49:52 +00:00
Gustavo Sverzut Barbieri 7e1caa6740 enlightenment_fm_open to open directories from command line.
This command line tool will make it easier to open directories from
command line, instead of calling
   enlightenment_remote -exec-action fileman "PATH"

It has the advantage of being much simpler and smaller and also
resolving the realpath for you.

If there is no such action "fileman" (ie: module is not loaded), then
it will return failure. To implement this I had to change the
-exec-action so it returns a boolean (it will report that value with
enlightenment_remote as well).




SVN revision: 37861
2008-11-30 02:12:52 +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
Gustavo Sverzut Barbieri d141f3e0d4 add const to char* of enlightenment_remote.
not that important, but should send more stuff to read-only section of elf.



SVN revision: 37846
2008-11-28 22:02:42 +00:00
Chidambar Zinnoury 4d2001bed6 While selecting using rubberband on file manager, select also when text is contained, not only icon.
SVN revision: 37844
2008-11-28 21:06:28 +00:00
Chidambar Zinnoury 884b9821ae Add e_exehist_del, that permits to remove an element from saved history.
SVN revision: 37828
2008-11-27 19:05:59 +00:00
Carsten Haitzler 16b2dc8697 make extra syscon actions able to be disabled.
illume disables its extra syscon actiosn when they are not appropriate
fix next/prev window list buttons to really keep a logical order going
correctly.



SVN revision: 37813
2008-11-27 01:50:00 +00:00
Carsten Haitzler 6cf459572f make extra actions work. use them from illume.
SVN revision: 37811
2008-11-26 12:54:23 +00:00
Carsten Haitzler 3c66ab8d7a fix config upgrade for syscon.
SVN revision: 37807
2008-11-25 23:43:00 +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
Chidambar Zinnoury b2e3737024 Add support for home and end keys to toolbar widget.
SVN revision: 37791
2008-11-24 20:59:59 +00:00
Viktor Kojouharov 8087cda39d E_EVENT_POWERSAVE_UPDATE for the masses
cpufreq auto-changes the governor depending on the powersave mode


SVN revision: 37788
2008-11-24 08:32:34 +00:00
Christopher Michael 74841f4441 Formatting fixes. Still a lot more here to fix :(
SVN revision: 37753
2008-11-22 21:39:35 +00:00