Commit Graph

5076 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 36c9bdebe1 Fix Window/Actions/{Move to..., Push in Direction...} to account shelf.
Now push to edges or move to position will account for shelves and not
move things below/ontop of them.

Move to help was also changed to say "+" instead of " " as it is more
clear. The code just checks for '-', so anything else is accounted as
positive anyway.



SVN revision: 49432
2010-06-04 01:51:24 +00:00
Gustavo Sverzut Barbieri f43545400a annoyances--: do not place desktop icons under shelves.
The new trend these days seems to be "place a shelf on top of the
screen", in that case your desktop icons will get under that shelf and
looks annoying, people laugh at E users that use that :-D (fortunately
I'm the one that usually laugh...)

Fixed, but possible other places to be fixed as well. If one wants to
avoid the shelves, use the e_zone_useful_geometry_get().

e_zone now emits E_EVENT_ZONE_MOVE_RESIZE when the useful geometry
becomes dirty. Maybe it is worth to add a new signal, but I'm reusing
it until someone complains.




SVN revision: 49431
2010-06-04 01:12:04 +00:00
Christopher Michael 6f33f9d823 Cleanup todo.
SVN revision: 49419
2010-06-03 19:27:44 +00:00
Christopher Michael 7ef8b28341 Make sure we don't go below zero (for the case where _thaw gets called
an odd number of times).



SVN revision: 49418
2010-06-03 17:35:41 +00:00
Christopher Michael 97d4239b35 Add a way to freeze incoming acpi events.
NB: To be used in the acpi bindings config dialog. This allows us to freeze 
all existing events so that if the user presses the power button 
(or something else) when adding a new binding, their machine does not
power off.



SVN revision: 49416
2010-06-03 16:57:09 +00:00
Hannes Janetzek 669b7e9e7c allow direct editing of icon name.
before it was not possible to set an icon by name and not by path.
also one has now direct feedback if an icon can be found in theme


SVN revision: 49398
2010-06-02 19:59:48 +00:00
Mike Blumenkrantz adec397c6e change hal poller to a dbus signal handler
SVN revision: 49389
2010-06-02 03:42:03 +00:00
Mike Blumenkrantz 492178f1b2 add header, fix compile warning when printing int64 (use PRIi64)
SVN revision: 49388
2010-06-02 03:23:49 +00:00
Carsten Haitzler e266915a7b just nuke 1 line.
SVN revision: 49386
2010-06-01 23:49:52 +00:00
Mike Blumenkrantz 4f2750dc81 change efm functionality to account for hal not being present. previously on startup, efm sent dbus messages to nonexistent hal object paths, setting up watches and handlers (but not actually setting them up since hal didn't exist).
now we test for hal presence through introspection call and set up handlers only if hal is present. otherwise set a poller to call introspect on hal every 30 seconds and then set up handlers if hal is later detected
note: this commit message is excessively long.


SVN revision: 49373
2010-06-01 15:33:56 +00:00
Carsten Haitzler 348d599f8b lock on suspend option++ (also on hibernate - same options)
SVN revision: 49354
2010-05-31 15:17:02 +00:00
Christopher Michael df3d66bebd Not much need to reget the widget data when trying to retrieve text
from the entry. We already have the widget data struct, so grab the
text directly from e_entry.



SVN revision: 49341
2010-05-31 01:23:07 +00:00
Christopher Michael 16c373d23b Set any new bindings (when config gets upgraded) to the appropriate
status. (Oops, I missed a commit.)



SVN revision: 49321
2010-05-30 02:45:27 +00:00
Christopher Michael 8dbd555663 Check for a binding status of -1 so that we skip comparison with
event_status (if needed).



SVN revision: 49320
2010-05-30 02:23:06 +00:00
Christopher Michael d2d1e49bf5 Add bindings for ACPI.
Add acpi bindings to config.
Add handlers in e_acpi for common/default acpi events.
Add actions for some missing ACPI events.
 - NB: Dim/Undim screen do nothing currently except a printf.



SVN revision: 49309
2010-05-29 19:57:13 +00:00
Hannes Janetzek 8b7e86be29 fix bottom right and bottom left edge position
SVN revision: 49305
2010-05-29 18:21:23 +00:00
Carsten Haitzler 8db097c619 fix dnd from menu bug.
SVN revision: 49302
2010-05-29 14:55:47 +00:00
Carsten Haitzler 4625a590c2 and now follow the same setup as efl libs too.
SVN revision: 49286
2010-05-29 10:37:52 +00:00
Gustavo Sverzut Barbieri 9e581982f7 Do not activate DPMS, Screen Saver or Locker if there is a fullscreen window.
I guess there is nothing more annoying than having a fullscreen window
to watch a quick movie, read some text or webpage or whatever and have
the DPMS to show, or the screensaver to be activated or your screen to
be locked.

This patch uses the new border signal and counts, if there is at least
one fullscreen border, then avoid doing these annoyances.

I'm not accounting for any border parameter/property, like if it is in
a visible screen or desktop. I hope this is fine, otherwise let me know.

I also asked and common sense at IRC (at least to me and englebass) is
that there is no need to configure such behavior, so there is no
configure option for it.

I'm also thinking about maximized windows to have a configurable
behavior to match this, but I'm not sure.



SVN revision: 49262
2010-05-28 22:13:20 +00:00
Gustavo Sverzut Barbieri 1c3afc74b2 Emit events when windows become or leave fullscreen.
SVN revision: 49258
2010-05-28 21:37:42 +00:00
Gustavo Sverzut Barbieri 1a818e8ac8 fix bitfield.
SVN revision: 49256
2010-05-28 20:49:01 +00:00
Gustavo Sverzut Barbieri 5e42f12ffb if fullscreen border was moved between desks, update desk fullscreen count.
just happened to notice this possible error, no idea if paths could
really trigger it, but was simple enough to fix.



SVN revision: 49249
2010-05-28 18:54:25 +00:00
Hannes Janetzek 702218034b check strings not null
SVN revision: 49230
2010-05-27 12:45:41 +00:00
Christopher Michael a9f6e4186e Bus id can be longer than 4 chars, so fix scanf.
SVN revision: 49201
2010-05-26 02:29:48 +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
Christopher Michael d1e46e3888 Fix segfault if gadget has no zone.
SVN revision: 49163
2010-05-23 20:39:51 +00:00
Rafael Antognolli de4fae0a96 Call _e_fm2_dbus_mount_fail instead of _e_fm2_dbus_unmount_ok when
mount fails.



SVN revision: 49148
2010-05-23 00:18:38 +00:00
Mike Blumenkrantz 97529addef match eeze changes, add init/shutdown calls to illume2 keyboard
SVN revision: 49130
2010-05-22 07:04:26 +00:00
Christopher Michael dbf68af02f Fix shelf settings dialog always resetting the shelf style to
'alternate'.



SVN revision: 49121
2010-05-22 02:52:05 +00:00
Carsten Haitzler 6336dcebbf dont use bg pixmap if compositing (or async rendering).
SVN revision: 49108
2010-05-21 17:08:22 +00:00
Hannes Janetzek 264dab3961 fix previous commit
SVN revision: 49094
2010-05-21 11:30:10 +00:00
Carsten Haitzler d9588a3a67 add svn revision tracking into src. about dialog shows it now.
SVN revision: 49086
2010-05-21 05:42:27 +00:00
Christopher Michael 582c27ec2b Use proper formatting for parens() *cough*
Remove white & fix other formatting.



SVN revision: 49085
2010-05-21 05:27:04 +00:00
Hannes Janetzek 5b4f108d9c fix bug with popups no showing up when using composite. seems to happen only on 'slow' machines
SVN revision: 49082
2010-05-21 04:30:44 +00:00
Davide Andreoli 233042686a Add missed func: e_widget_ilist_selected_data_get(*obj)
SVN revision: 48986
2010-05-18 21:37:05 +00:00
Carsten Haitzler 25cb393e47 call sys action for exit on io error - cleaner.
SVN revision: 48966
2010-05-18 07:50:56 +00:00
Christopher Michael 24188afa26 Add enums for acpi signals, and enums for lid status.
Add function to return current lid status.



SVN revision: 48948
2010-05-17 22:46:28 +00:00
Christopher Michael 078fe68f2d Make sscanf a bit more sane wrt the if statement.
SVN revision: 48931
2010-05-17 00:18:21 +00:00
Christopher Michael 08fde98a06 For unknown devices, set the event's device name to the name of the
device returned in the ACPI message rather than a hard-coded 'unknown'.



SVN revision: 48930
2010-05-17 00:11:55 +00:00
Christopher Michael 3c8d951719 Small formatting fix.
SVN revision: 48929
2010-05-17 00:04:12 +00:00
Christopher Michael d823aba015 Add a TODO list.
Create a device hash to match standard device names to types.
Cleanup E_EVENT_ACPI (add missing ones, remove not needed ones).
Actually parse out the ACPI data which we receive.

You can now actually use this ACPI code for event listening, but the
Status field of the event structure needs sanatizing yet (turn into
something meaningful).



SVN revision: 48928
2010-05-17 00:03:55 +00:00
Christopher Michael 7ec3688471 Add some more acpi event types that we will handle.
SVN revision: 48916
2010-05-16 16:10:36 +00:00
Christopher Michael e828519e97 Change acpi event structure to be able to pass more info.
SVN revision: 48912
2010-05-16 06:21:48 +00:00
Christopher Michael 903caca63b Add start of ACPI code. Does not actually parse yet tho.
Add e_acpi_init to startup (it safely returns if acpid is not running).
Fix some formatting in e_main.



SVN revision: 48910
2010-05-16 05:26:29 +00:00
Christopher Michael 76076d4399 Splash doesn't need eet or ecore-file, so remove includes.
Fix some formatting.



SVN revision: 48904
2010-05-16 01:59:49 +00:00
Hannes Janetzek e38b5bd6de test if svg loader works, if so add svg to efreet theme supported types
SVN revision: 48896
2010-05-15 17:56:50 +00:00
Carsten Haitzler 1fbaf30e95 add names to popups
SVN revision: 48888
2010-05-15 12:25:33 +00:00
Mike Blumenkrantz 127aae1ab8 my first e commit that doesn't break anything (I think)!
enables eeze_udev support where available, currently only illume2, as a device backend to replace ehal.
unless --enable-device-udev is explicitly specified, e will continue to use ehal as the device backend.
upon selection of eeze_udev, a brief warning will be shown during config summary.
components that do not support eeze_udev will still fall back to hal even if eeze_udev is selected


SVN revision: 48867
2010-05-14 18:19:51 +00:00
Christopher Michael 8bee4c012f Remove whitespace.
SVN revision: 48826
2010-05-13 21:07:02 +00:00
Sebastian Dransfeld 870e2c1cf4 e: revert svg icon acceptance
SVN revision: 48824
2010-05-13 20:26:56 +00:00
Sebastian Dransfeld 4850e4dc2c e: add const
SVN revision: 48822
2010-05-13 20:24:26 +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
Christopher Michael 08cc0c6e51 Replace exit() with e_main_shutdown so libs get shutdown correctly.
e_module_disable already calls e_config_save_queue().
Fix formatting.



SVN revision: 48782
2010-05-12 17:44:21 +00:00
Christopher Michael 4ae4080bac Use e_main_shutdown instead of exit so that eina_shutdown (and others)
get called when exiting.



SVN revision: 48781
2010-05-12 17:36:01 +00:00
Christopher Michael 30638d278d Use the same strings for init status (ie: convert Set Up to Setup).
SVN revision: 48766
2010-05-11 21:07:27 +00:00
Christopher Michael 57f2c2bd48 Set new client config geometry resolution to match current resolution
(better than a hard-coded value which may be incorrect).



SVN revision: 48748
2010-05-11 05:05:51 +00:00
Hannes Janetzek d62eb96fb4 added utility function to check module config version and show dialog when required. works with the common VERSION macros.
SVN revision: 48742
2010-05-10 23:44:53 +00:00
Sebastian Dransfeld 3741667825 e: need to stringshare returns
SVN revision: 48658
2010-05-06 20:51:42 +00:00
Carsten Haitzler 34e7b3a1bc iocharset not valid for udf (and normal user id) :/
SVN revision: 48572
2010-05-03 01:53:27 +00:00
Carsten Haitzler 12c8a33b11 fix segv with removable devices!!!! decode forced strdup/free etc... but rest
of code assumed stringshare.



SVN revision: 48546
2010-05-02 12:05:56 +00:00
Chidambar Zinnoury 94fe8e9020 EFM: on [↑] or [↓] key, use the same distance function for "normal" view modes as for "custom" view modes so that selection doesn't get jumpy.
SVN revision: 48542
2010-05-02 07:03:32 +00:00
Gustavo Sverzut Barbieri df86cee4f0 proper solution for 48487, just order was wrong.
SVN revision: 48518
2010-05-01 19:28:27 +00:00
Gustavo Sverzut Barbieri 42a2c6ae0b init popups before desklock, or the hash will not exist.
SVN revision: 48516
2010-05-01 19:21:07 +00:00
Gustavo Sverzut Barbieri f7ec145316 Icons should get events, even if the loaded edje group does not.
This bug was exposed by e_widget_deskpreview, that uses native E
backgrounds as edje group. As backgrounds likely do not need mouse
events, or in the case of backgrounds converted from JPEG/PNG images,
the edje would never get an event, so as e_icon, then those that rely
on events on icon will never get called as no children get events.



SVN revision: 48515
2010-05-01 18:24:30 +00:00
Gustavo Sverzut Barbieri 4cd34cc5e8 NEVER, EVER should modify the stringshared pointer.
That is why stringshare returns "const char*".

ZMike, pay attention to these cases. I know this one was particularly
nasty to spot since you receive the "const char *path", but later on
you request strrchr(path..) and receive "char *p", the cast is done
implicitly by libC to make all the case works (C++ version fixed this
recently, but in C there is no way).

The crash that lead me to investigate it was spot by Lucas De Marchi
at advanced wallpaper dialog, but actually other places that uses efm
should be equaly broken.



SVN revision: 48508
2010-05-01 16:02:03 +00:00
Hannes Janetzek 9b1d74ccf9 fix warnings
SVN revision: 48500
2010-05-01 13:26:32 +00:00
Hannes Janetzek b859ec06a3 if bindings context is 'any' then action is triggerd twice, for container and for zone. maybe not the best solution but otherwise one would have to create three bindings to get the 'any' behaviour
SVN revision: 48499
2010-05-01 13:26:10 +00:00
Mike Blumenkrantz 48336a9976 step 4.5: also increment this to avoid blowing away configs
SVN revision: 48490
2010-04-30 19:30:35 +00:00
Mike Blumenkrantz 9d40d66091 step 3: migrate all function and variable names to generic dbus naming
SVN revision: 48488
2010-04-30 19:14:20 +00:00
Mike Blumenkrantz de43538b12 check for hash table before freeing it which cause eina to get angry on e restart. don't make eina angry. you wouldn't like eina when it's angry.
SVN revision: 48487
2010-04-30 19:13:30 +00:00
Mike Blumenkrantz 4c2953f3f0 beginnings of the ukit migration. this time, in many many many small commits along the way to avoid breaking things! :)
step 2: migrate headers


SVN revision: 48464
2010-04-30 09:07:01 +00:00
Mike Blumenkrantz 5c598d1a78 beginnings of the ukit migration. this time, in many many many small commits along the way to avoid breaking things! :)
step 1: migrate *hal* files to *dbus* files


SVN revision: 48463
2010-04-30 08:38:08 +00:00
Mike Blumenkrantz a6c5618f69 finish char* to const char* conversion
SVN revision: 48461
2010-04-30 08:17:53 +00:00
Mike Blumenkrantz 5aa48ed402 fix more broken stringshare stuff from ehal memory migration, including incredible lines such as
char *udi = eina_stringshare_del(udi);
my bad, I really fudged the bucket on this one guys.


SVN revision: 48416
2010-04-29 10:17:41 +00:00
Mike Blumenkrantz 97da075d67 ukit integration taking way longer than expected, so I'm fixing all the stringshares now. should be safe to use. hooray.
SVN revision: 48414
2010-04-29 08:58:38 +00:00
Miculcy Brian 1972ad7589 reorder options
SVN revision: 48394
2010-04-28 14:58:27 +00:00
Carsten Haitzler aadcae0b20 be lenient on uri';s allow boring full paths.
SVN revision: 48380
2010-04-28 03:30:48 +00:00
Carsten Haitzler 4b1a77f8a0 DONT strip file://! efm etc. expects it.. as its a uri! dnd broke as of this
change completely... bad englebass! bad! spank! :)



SVN revision: 48379
2010-04-28 03:30:31 +00:00
Gustavo Sverzut Barbieri 8d647d48cf fix eap editor for icon selection.
SVN revision: 48368
2010-04-27 21:15:34 +00:00
Gustavo Sverzut Barbieri db6b561e3e remove stale references to enlightenment_fm_open, it's gone!
SVN revision: 48364
2010-04-27 15:47:12 +00:00
Carsten Haitzler 414ab703a9 no more e_fm_open - use dbus... eg:
dbus-send --session --dest=org.enlightenment.FileManager /org/enlightenment/FileManager org.enlightenment.FileManager.OpenDirectory string:'/home/raster'



SVN revision: 48362
2010-04-27 13:30:33 +00:00
Christopher Michael a824c8a731 Fix formatting & remove whitespace.
SVN revision: 48349
2010-04-26 21:50:53 +00:00
Miculcy Brian b7c95b0a13 When e segfaults during startup (module load), e now disables that module correctly after a restart and tells the user about that. TODO: Disable all modules correctly when not sure which one did the segfault during startup...
SVN revision: 48332
2010-04-26 16:31:33 +00:00
Jaime Thomas 202a06c9f6 Stop windows from jumping to (0,0) location when resizing using keybindings.
SVN revision: 48316
2010-04-25 18:50:14 +00:00
Sebastian Dransfeld 2216ee49df e: remember new defer time
SVN revision: 48245
2010-04-23 10:32:15 +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
Christopher Michael b525c5defa Fix formatting.
SVN revision: 48169
2010-04-20 18:48:42 +00:00
Christopher Michael 80c91b8d19 As per k-s, remove fix from e_config_dialog and instead, call e_border_show
inside uniconify.



SVN revision: 48138
2010-04-19 17:27:45 +00:00
Christopher Michael ffbd6e3bd8 Need an e_win_show here as the border may not have been 'iconified' but
rather 'hidden' completely.



SVN revision: 48137
2010-04-19 17:02:34 +00:00
Sebastian Dransfeld 52bb692ae8 e: fix #528
basename may modify its argument, so we need to strdup before calling
basename.

SVN revision: 48128
2010-04-19 08:17:19 +00:00
Carsten Haitzler fa9a759f56 use utf8 mount options for some fs's
SVN revision: 48116
2010-04-19 02:09:46 +00:00
Vincent Torri 8ca39fc1bf Replace the description "Everything" by "All" as there
is a conflict with the Everything module wrt translations.


SVN revision: 48098
2010-04-18 06:29:31 +00:00
Christopher Michael 3dfcb86235 Move initializing intl support until after splash is setup as we want to be
able to let the user know that intl support is starting...and we can't do
that until splash is up.



SVN revision: 48084
2010-04-17 19:40:21 +00:00
Christopher Michael 180f2a6ac9 Remove extra blank line.
SVN revision: 48083
2010-04-17 19:32:06 +00:00
Christopher Michael 0a5825d304 Make function prototypes match actual functions (wrt __UNUSED__).
Use PATH_MAX.



SVN revision: 48072
2010-04-17 13:14:42 +00:00
Sebastian Dransfeld fadcb01bcb efreet: better naming
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Carsten Haitzler 7ae83060b6 comment out too.
SVN revision: 47951
2010-04-12 09:05:37 +00:00
Carsten Haitzler 48fbad5d6b comp module... oh so much has been done... whhere do i begin? - fully fledges
edje obj swallowing windows, selection mechanism to have myltiple styles (2
examples), signals for focus, urgent, comp stuff now in core theme.... dump
and flush supported now (sends messages).



SVN revision: 47950
2010-04-12 08:28:51 +00:00