Commit Graph

5038 Commits

Author SHA1 Message Date
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 384a49358f Fix compiler warnings when E is compiled without gettext.
SVN revision: 49775
2010-06-21 02:17:58 +00:00
Carsten Haitzler 77cd6f5b18 check here too
SVN revision: 49768
2010-06-20 11:13:31 +00:00
Carsten Haitzler 401482dfbf toolbar - be happy without icon
SVN revision: 49767
2010-06-20 10:55:08 +00:00
Christopher Michael d0868ecd95 Reduce variable usage.
Use E_NEW & E_FREE.



SVN revision: 49762
2010-06-19 22:59:02 +00:00
Vincent Torri f34e89ffec * allow compilation without gettext
* fix a bit maintainer-clean rule



SVN revision: 49759
2010-06-19 17:33:38 +00:00
Christopher Michael eea86e7714 Fix nasty formatting.
SVN revision: 49757
2010-06-19 01:19:01 +00:00
Tiago Rezende Campos Falcao fa956101a7 Adding selection API to E_Icon
SVN revision: 49755
2010-06-18 22:39:00 +00:00
Andreas Volz cb1d2785fa temporary comment my latest change here.
while working with it I got some strange window placements. I need to analyze these situations before I release it to the public...


SVN revision: 49673
2010-06-14 19:44:56 +00:00
Andreas Volz 8610b9eaa9 Based on an IRC discussion I changed the smart placing mechanism to hit also if icccm.request_pos is true. Many Gnome based application try to start with coordinates below the shelfes and E allows it. This smoothly moves this windows away is smart placement is active. It's not as aggressive as Metacity, but now usable with vertical shelfes. If you don't like this change hit me and discuss it again on the list.
SVN revision: 49654
2010-06-12 12:54:18 +00:00
Tiago Rezende Campos Falcao 1d996d2852 Adding more events to E widgets[B.
SVN revision: 49457
2010-06-04 21:10:05 +00:00
Gustavo Sverzut Barbieri d08037a625 Window/Action/Push in direction is now able to do 2d movements.
Allow one to send window to corners. up-left, up-right, down-left and
down-right are the new possible values.

HINT: for those that don't know, the "Push" has the nice behavior to
do the push in the given direction but stops in the first
window/obstacle in that direction, thus avoiding overlapping windows.



SVN revision: 49433
2010-06-04 02:08:43 +00:00
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