Commit Graph

5209 Commits

Author SHA1 Message Date
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
Hannes Janetzek 8eea301bf5 fix possible segv on restart
SVN revision: 47943
2010-04-12 03:00:50 +00:00
Hannes Janetzek 19ecf36e1b use 'Everything Launcher' category for modules
SVN revision: 47914
2010-04-11 04:02:45 +00:00
Christopher Michael a074d3fd14 Readd event handler for module updates.
SVN revision: 47910
2010-04-11 00:31:13 +00:00
Christopher Michael 2869f78e31 New Shelf Contents dialog that works w/ small resolutions ... and fixes the
"add/remove multiple gadgets" problem that the first incarnation had.



SVN revision: 47909
2010-04-11 00:20:38 +00:00
Christopher Michael ab0ca94a4e Revert new gadget config dialog due to issues with adding a gadget twice to a shelf.
SVN revision: 47886
2010-04-09 19:38:28 +00:00
Christopher Michael 536b1c6575 Center shelf config dialog.
SVN revision: 47884
2010-04-09 19:09:42 +00:00
Christopher Michael 8c7e0d1631 Better Shelf Config dialog. Works in smaller resolutions now :)
SVN revision: 47882
2010-04-09 17:58:23 +00:00
Christopher Michael 058ecbf486 Remove wasted whitespace.
SVN revision: 47879
2010-04-09 16:19:46 +00:00
Christopher Michael e79308394a New Shelf Contents dialog to work with small resolutions.
SVN revision: 47859
2010-04-09 01:07:40 +00:00
Christopher Michael 125ffd9112 Function to return the 'selected' items value.
SVN revision: 47857
2010-04-09 00:24:33 +00:00
Christopher Michael 6c858bb3b0 Another wrapper function to return an ilist items value using only the index
of selected item.



SVN revision: 47856
2010-04-09 00:08:38 +00:00
Christopher Michael c0bb6d2148 Wrapper functions for getting an items 'value'. To be used in new Shelf
Contents dialog.



SVN revision: 47844
2010-04-08 20:07:11 +00:00
Cedric BAIL f6820d53a6 * e: Config in E17 could take avantage off Eet mapped string, but right
now the API doesn't provide a way to let the Eet_File open. So don't
	hack around Eet API and use the proper API.

	TODO: Break E_Config API to hold a reference to the Eet_File as long as
	needed.


SVN revision: 47805
2010-04-07 13:54:33 +00:00
Christopher Michael 72a851477e Fix modules dialog to work w/ smaller resolutions (ilist was too tall).
Add some missing wrapper functions for slider widget (used in new temp
config dialog).



SVN revision: 47797
2010-04-07 01:30:03 +00:00
Christopher Michael 1436728f88 Formatting & Whitespace removal.
SVN revision: 47718
2010-04-03 01:03:40 +00:00
Christopher Michael bee9246e44 Fix item label return. Thanks cedric :)
SVN revision: 47694
2010-04-02 15:21:46 +00:00
toma 58703dc534 Better definition between e/toolbar and e/widgets/toolbar. Its now e/fileman/toolbar as it is fileman specific, where as the other is a widget. THEME MAKERS: You will need to update to accomodate this change. I think the e_toolbar.c should probably be renamed too...
SVN revision: 47678
2010-04-02 04:30:09 +00:00
Christopher Michael d50bb8061f Fix eina_stringshare usage...thanks k-s :)
SVN revision: 47674
2010-04-01 23:14:16 +00:00
Christopher Michael 5010ef93f5 Use item->label in places where we can. I don't know how this was
overlooked all this time. This fixes a bug where getting item->label
was always returning NULL.

Can someone please check the eina_stringshare usage here ? Thanks :)



SVN revision: 47655
2010-04-01 18:48:24 +00:00
Cedric BAIL 9dc05e298b * e: handle more valgrind tool to monitore e17.
SVN revision: 47600
2010-03-30 15:13:45 +00:00
Christopher Michael 4eefa59387 Use Eina_Bool for multi-select of ilist.
Fix formatting issues in some other files.



SVN revision: 47573
2010-03-30 01:05:56 +00:00
Cedric BAIL 70969e8b9f * e: prevent segv when reinserting the same object. Should never happen
but better to not segv.


SVN revision: 47558
2010-03-29 16:11:08 +00:00
Sebastian Dransfeld 7c9c49eabc Make sure we free desktop before getting new
SVN revision: 47518
2010-03-27 20:53:41 +00:00
Sebastian Dransfeld 3ad866ca96 e: This isn't true anymore
We get our own pointer from efreet util now.

SVN revision: 47517
2010-03-27 20:53:30 +00:00
Sebastian Dransfeld bf86564fea TODO++
SVN revision: 47514
2010-03-27 19:58:44 +00:00
Sebastian Dransfeld 4e5640ae0f efreet_util_init gone
SVN revision: 47512
2010-03-27 19:58:21 +00:00
Sebastian Dransfeld 779ef9e24a Sync with efreet and some cleanup
SVN revision: 47478
2010-03-26 05:34:34 +00:00
Sebastian Dransfeld 93d2e401c1 Efreet update
- Listen to cache update
- Free desktops after retrival

SVN revision: 47477
2010-03-26 05:34:20 +00:00
Sebastian Dransfeld fed2a494e1 Listen to cache update event
SVN revision: 47476
2010-03-26 05:34:10 +00:00
Sebastian Dransfeld 1281326421 free desktop when done
SVN revision: 47475
2010-03-26 05:33:59 +00:00
Sebastian Dransfeld 2277270e9c free desktop on border removal
SVN revision: 47474
2010-03-26 05:33:48 +00:00
Cedric BAIL 75a2286179 * e: handle mouse wheel for slider.
SVN revision: 47452
2010-03-25 17:33:54 +00:00
Cedric BAIL e8c170542b * e: remove some historic comment.
NOTE: I did some test and wasn't able to trigger the documented segv.
	If you get a segv on exit, please report and help me to understand how
	to trigger it. Anyway, I reactived it so that we can get global memory
	consuption statistic with e17.


SVN revision: 47322
2010-03-18 15:02:10 +00:00
Carsten Haitzler b109ded5aa nice alert to tell u what went wrong
SVN revision: 47303
2010-03-17 03:40:21 +00:00
Carsten Haitzler 40cb95e25f and on osx - they use some other env var apparently.
SVN revision: 47281
2010-03-16 08:11:23 +00:00
Sebastian Dransfeld 39bb11a264 The Efreet_Desktop to edit should be unique
Use efreet_desktop_uncached_new to get a unique copy of a Efreet_Desktop
read from disk. This way the editor wont interfere with the running
system. Any changes to .desktop files must then be caught by file
monitoring.

SVN revision: 47251
2010-03-15 19:58:12 +00:00
Gustavo Sverzut Barbieri b06daa326f fix e_slider's edje_object_part_drag_step() usage.
The step size is set with edje_object_part_drag_step_set(), then we
should just step in units proportional to that size.



SVN revision: 47192
2010-03-13 23:45:04 +00:00
Gustavo Sverzut Barbieri 06cba940f0 cleanups and simplifications.
SVN revision: 47191
2010-03-13 23:42:46 +00:00
Sebastian Dransfeld 080b8eda6c formatting
SVN revision: 47189
2010-03-13 21:56:25 +00:00
Sebastian Dransfeld c0d814343d use strlen to get string size, not sizeof
SVN revision: 47188
2010-03-13 21:34:08 +00:00
Gustavo Sverzut Barbieri 2e246ac1be slider cleanups and support for special values.
Special values enables showing different label for some values, for
example, 0 may mean "undefined", "never"...

cleanup -Wextra was done as well.



SVN revision: 47144
2010-03-11 22:35:55 +00:00
Gustavo Sverzut Barbieri 78e5959bdf cleanups, consts and return Eina_Bool for file setters.
okay, maybe too much for a single patch, but they are all pretty trivial:

 - whitespace cleanups;

 - simplify "sd" assignments;

 - add const keyword to getters;

 - return if file_set operation succeeded or not.



SVN revision: 47069
2010-03-09 02:45:14 +00:00
Gustavo Sverzut Barbieri ba79908621 non-resiable "presentation mode" dialogs and -Wextra/trailing whitespace cleanups.
SVN revision: 47060
2010-03-09 00:31:44 +00:00
Carsten Haitzler eff746a164 load modules before execcing apps.
SVN revision: 47000
2010-03-08 15:00:29 +00:00
Gustavo Sverzut Barbieri 1b712ba617 no need fro frame in the module list, the dialog title says it all.
SVN revision: 46975
2010-03-08 02:39:44 +00:00
Gustavo Sverzut Barbieri 707f0fa37e don't ever select headers...
SVN revision: 46958
2010-03-07 20:08:46 +00:00
Gustavo Sverzut Barbieri 5cd4b45793 crack--, /me needs sleep!
SVN revision: 46929
2010-03-07 05:37:40 +00:00
Gustavo Sverzut Barbieri f3dcabc3d0 enables optional alpha edition in color selector.
NOTE: the color selection widget (e_widget_csel) is way too
      complex. The basic editor should not show HSV as most people
      have no clue what it is.



SVN revision: 46926
2010-03-07 05:24:09 +00:00
Gustavo Sverzut Barbieri 9e35127d35 better desktop file editor, presents more space in less space!
* use toolbook and segment all information to different pages

 * icon got its own page, with bigger view

 * labels on one line, entries on the next: more consistency, better
   alignment, takes less horizontal space and allows entries to show
   more characters.

 * editing new desktop files (Settings > Apps > New Application) will
   use a dynamically created name based on application name, instead
   of falling back to a numeric based _new_app-%d.desktop.



SVN revision: 46902
2010-03-06 00:42:09 +00:00
Sebastian Dransfeld 66b667f273 Use efreet_desktop_new where appropriate
efreet_desktop_get (will in time) setup a lot of stuff to monitor
changes. If we just use the results from efreet_desktop_get within one
function and then free, this is unneeded overhead. efreet_desktop_free
will more lightweight (but require a bit more mem alloc).

SVN revision: 46847
2010-03-03 22:10:55 +00:00
Sebastian Dransfeld be71ec56a9 We do free our efreet_desktop's
SVN revision: 46846
2010-03-03 22:10:44 +00:00
Sebastian Dransfeld 346707729c Use efreet_desktop_get
We want to get a cached version which submits events for bd->desktop

SVN revision: 46845
2010-03-03 22:10:34 +00:00
Gustavo Sverzut Barbieri 75e97e144c postpone module list construction to idler.
Create the list later so the dialog shows up immediately and is later
populated. The creation of the list is quite expensive, with disk,
efreet and later computation of the final list.

It seems good now, but if required it could be split a bit more,
instead of doing one directory per idle run, do one file.



SVN revision: 46843
2010-03-03 21:37:52 +00:00
Christopher Michael 650c66ec68 Respect zone aspect ratio.
SVN revision: 46838
2010-03-03 18:30:27 +00:00
Gustavo Sverzut Barbieri b7e7f44bc9 better sizing
SVN revision: 46815
2010-03-03 04:42:22 +00:00
Gustavo Sverzut Barbieri 073a946433 new, single list module loader dialog.
This dialog was reworked to have one single list instead of two. This
makes the internals way simpler and also fits small screens.

Extra benefit is that we don't need to reload the list, so it's
flicker-free and you don't loose context. Of course it will save some
cpu cycles not having to do these list fills over and over again.

the ilist had to be changed to include an "end" object, in the default
theme it is at the right. It will use a part named
e/widget/ilist/toggle_end to present the selected state. (The
favorites/heart icon was choosen because it is red and thus easily
visible in both black and white background -- selected/unselected).



SVN revision: 46813
2010-03-03 04:10:04 +00:00
Christopher Michael 0858fa31c2 Add handler for bg update.
When deleting, remove icon objects.



SVN revision: 46808
2010-03-03 00:36:08 +00:00
Carsten Haitzler 07c6e7788d oooold patch from manio! in!
SVN revision: 46807
2010-03-03 00:32:39 +00:00
Christopher Michael 8dd6d9fa23 Rework deskpreview widget so play nice w/ toolbook.
- e_widget_aspect has issues when used in toolbook (so we don't use it here).
   - Still a couple of TODOs in this:
       Respect zone aspect.
       Use livethumb for previews.



SVN revision: 46803
2010-03-02 22:56:06 +00:00
Gustavo Sverzut Barbieri fccaf3de73 better alignment, sizing and pass -Wextra
SVN revision: 46796
2010-03-02 18:53:02 +00:00
Christopher Michael a9e98d36dd Don't expand..makes things look horrible.
SVN revision: 46789
2010-03-02 15:51:26 +00:00
Boris Faure 1060dfbd2e e: check whether fork failed
SVN revision: 46787
2010-03-02 15:07:03 +00:00
Carsten Haitzler fd7e0c09df hmmm something screwed with init done events.. remove 1 undone.
SVN revision: 46784
2010-03-02 12:31:20 +00:00
Christopher Michael 8a70d741fb Disable the timer if we are not debugging stringshare usage.
Fix some formatting.



SVN revision: 46778
2010-03-02 07:19:50 +00:00
Christopher Michael f933b3e993 Formatting.
SVN revision: 46738
2010-03-01 20:40:49 +00:00
Sebastian Dransfeld cdd86db6ac Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Gustavo Sverzut Barbieri 90a385ff28 fix problem with resizing dialogs that use e_widget_framelist_object_append()
Now we have a new variant that lets you set the box pack
options. Couple of modules need this.



SVN revision: 46691
2010-03-01 13:14:31 +00:00
Christopher Michael 98e95cc950 Comment whole section as we never make use of it anyway.
SVN revision: 46674
2010-03-01 01:33:44 +00:00
Christopher Michael dcd6a62380 Don't set a min width that is too large. Just use min width returned from
the function. This makes module dialog work nicely w/ smaller resolutions.



SVN revision: 46673
2010-03-01 00:57:06 +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
Gustavo Sverzut Barbieri 7255cc7b32 quaker said valgrind 3.5 just accept a byte value (0-255)
SVN revision: 46537
2010-02-26 23:55:12 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Carsten Haitzler c5ab22f34a delay order re-load from monitor signal
SVN revision: 46351
2010-02-22 08:04:41 +00:00
Christopher Michael 4461057e7a Add illume quickpanel zone fetch to border structure.
SVN revision: 46293
2010-02-19 03:21:30 +00:00
Gustavo Sverzut Barbieri c4d6295c8c Auto-logout after 60 seconds "logout confirm dialog" shows.
SVN revision: 46246
2010-02-17 14:03:06 +00:00
Carsten Haitzler 60b35967de gl vsync smoother tear-free rendering on desktop (nvidia though only - i am
in no mood to figure out the convoluted vsync stuff for every linux gl drvier
out there!)



SVN revision: 46158
2010-02-14 03:57:43 +00:00
Carsten Haitzler c42497848b fix long-standing bug in exe exit handling! ugh...
SVN revision: 46123
2010-02-13 02:47:21 +00:00
Christopher Michael 30b60b5bd3 No point in running find_by_client_window here as we do nothing with it
anyway.



SVN revision: 46104
2010-02-11 22:05:14 +00:00
Carsten Haitzler eed1782f5f and some more compositor work - now its looking mroe solid.
SVN revision: 46045
2010-02-10 14:13:29 +00:00
Christopher Michael 9fc08dd6c4 And adjust size hint when setting icon too. (Same problem as previous commit
wrt text).



SVN revision: 46033
2010-02-10 02:41:39 +00:00
Christopher Michael bdb0df2303 Set min size on button when text is set. (Found this after creating a button
w/ no text, than later setting the text...the size was never adjusted).



SVN revision: 46032
2010-02-10 02:29:09 +00:00
Christopher Michael 9956b1d406 Respect internal_no_remember flag.
SVN revision: 45994
2010-02-08 22:48:21 +00:00
Christopher Michael 24552e95bf No need to include these anymore. They are included by default w/ Ecore_X.h
SVN revision: 45955
2010-02-06 22:31:17 +00:00
Carsten Haitzler f274652e1f add sugusr1 to bring uo std config panel
SVN revision: 45929
2010-02-06 09:47:17 +00:00
Carsten Haitzler a5c4d29cb9 fix toolbar bug in sizing
SVN revision: 45896
2010-02-05 12:24:42 +00:00
Carsten Haitzler 00e6bf4bf1 make back./fwd arrow actuall advance items in toolbar
SVN revision: 45894
2010-02-05 10:22:21 +00:00
Carsten Haitzler 1646ce1042 and dont set sync for your own windows! deadlock in compositing otherwise
SVN revision: 45774
2010-02-01 14:16:27 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Sebastian Dransfeld c197d0c8a0 Only do "selected" cb when single_click_delay is 0
If single_click_delay is activated, _e_fm2_mouse_1_handler will handle
"selected" cb

SVN revision: 45631
2010-01-27 19:33:53 +00:00
Carsten Haitzler 6b09578e94 dont unload - restarts handle that. too unsafe.
SVN revision: 45627
2010-01-27 15:18:51 +00:00
Cedric BAIL 2fab25c3bb * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Sebastian Dransfeld 306d3dee1f Fix shelf numbering
id must be unique. So if we have 2 zones with 1 shelf in each, hide 1
zone and add a new shelf, it must get id "hidden shelf" + 1

SVN revision: 45563
2010-01-25 19:37:13 +00:00
Sebastian Dransfeld 511f4dd3c1 cleanup
SVN revision: 45547
2010-01-25 09:37:30 +00:00
Sebastian Dransfeld d529af17ba cleanup
SVN revision: 45546
2010-01-25 09:31:07 +00:00
Carsten Haitzler ca49f2dcbf config to turn off exec fail dialog
SVN revision: 45544
2010-01-25 07:38:48 +00:00
Sebastian Dransfeld ca335a9fc2 Fix #483 again
SVN revision: 45531
2010-01-24 21:20:32 +00:00
Sebastian Dransfeld f0015c1e97 Only move resize edge windows in one func
SVN revision: 45499
2010-01-23 20:11:55 +00:00
Sebastian Dransfeld 2de0425541 Fix #483
For corner shelves, detect movement in corner windows
Use ev->root.{x,y} as event coordinates, we do not care where the mouse
moves within the edge windows.
Convenience function for window -> edge detection.

SVN revision: 45498
2010-01-23 20:06:02 +00:00
Sebastian Dransfeld 1f0929c9d5 Only flip if edge window present
SVN revision: 45495
2010-01-23 18:33:24 +00:00
Sebastian Dransfeld 436b1fa456 Set list to NULL on free
SVN revision: 45481
2010-01-23 11:32:04 +00:00
Sebastian Dransfeld aa4572db97 Switch sort order
We want the leftmost screen to be first

SVN revision: 45480
2010-01-23 11:23:12 +00:00
Sebastian Dransfeld e2ba9a34b9 Add EINTERN
All functions not static in modules should be EINTERN, exepect
e_modapi_*

SVN revision: 45446
2010-01-22 20:00:07 +00:00
Sebastian Dransfeld 1715880d6a inplace open should not care whether we use single click or not, this is handeled by click handler
SVN revision: 45434
2010-01-22 07:21:03 +00:00
Sebastian Dransfeld 56d7e58f04 And readd shelf_show action
SVN revision: 45420
2010-01-21 20:39:57 +00:00
Sebastian Dransfeld a9e5912f7f And remove rest of shelf action
SVN revision: 45382
2010-01-21 08:37:45 +00:00
Sebastian Dransfeld caff9d5ade cleanup
SVN revision: 45381
2010-01-21 08:31:44 +00:00
Sebastian Dransfeld 226df7024c remove unneeded action
SVN revision: 45379
2010-01-21 07:50:06 +00:00
Sebastian Dransfeld 5b22c194a8 Create/ delete edge bindings for shelves as needed
Fixes bug #483

SVN revision: 45371
2010-01-20 22:36:45 +00:00
Sebastian Dransfeld 288ba85026 No point in setting binding in config
These bindings are not saved, and we don't want them saved

SVN revision: 45370
2010-01-20 22:36:34 +00:00
Sebastian Dransfeld a89ce69fca weird git
SVN revision: 45369
2010-01-20 21:38:01 +00:00
Sebastian Dransfeld 712af7f69e set layer on creation
SVN revision: 45368
2010-01-20 21:32:46 +00:00
Sebastian Dransfeld 529b2bef88 local change only
SVN revision: 45367
2010-01-20 21:32:35 +00:00
Sebastian Dransfeld f098d9df85 Only create edge windows which have bindings
Previously all windows always existed, and edge bindings showed/hided
windows as needed. And e_zone_flip_win_disable/ e_zone_flip_win_restore
f**k'ed this up.

Will fix bug #483 soon.

SVN revision: 45366
2010-01-20 21:30:17 +00:00
Sebastian Dransfeld 5109c0f8ea oops
SVN revision: 45365
2010-01-20 21:15:07 +00:00
Sebastian Dransfeld db6819ae2a Results from gettext aren't static
SVN revision: 45362
2010-01-20 19:49:39 +00:00
Sebastian Dransfeld 1526c18cd5 Desktop is localized
SVN revision: 45345
2010-01-19 21:19:38 +00:00
Sebastian Dransfeld 1271fb625d Desktop is localized
SVN revision: 45343
2010-01-19 21:11:36 +00:00
Sebastian Dransfeld e64e721ff2 Make sure that we always resize on keypress
When using alt on a window which resizes in steps, we could get 0
movement. Fixes bug #338.

SVN revision: 45339
2010-01-19 19:46:09 +00:00
Christopher Michael 1bc2b829f2 Use PATH_MAX in e_utils.
Add function in e_utils to get a zone by Ecore_X_Window (black_win).
No need to check for locked in illume-indicator.
Add client message handler for quickpanel to handle zone request changes on
quickpanel borders.
Remove some printfs.
Minor formatting in illume2 e_kbd.
Easier check for focused_vkbd_state.



SVN revision: 45233
2010-01-16 18:40:03 +00:00
Sebastian Dransfeld c3a71f394d make clang happy
SVN revision: 45184
2010-01-15 12:01:52 +00:00
Sebastian Dransfeld f67a69f161 Fix compiler warnings
SVN revision: 45183
2010-01-15 12:01:40 +00:00
Sebastian Dransfeld 6a6d1eab77 Remove unused function
SVN revision: 45182
2010-01-15 12:01:30 +00:00
Sebastian Dransfeld 68f785d92f Fix compiler warnings
SVN revision: 45181
2010-01-15 12:01:17 +00:00
Sebastian Dransfeld bdb1f669e6 Fix compiler warnings
SVN revision: 45180
2010-01-15 12:01:06 +00:00
Sebastian Dransfeld 8ff570beb2 Remove unused variable
SVN revision: 45179
2010-01-15 12:00:55 +00:00
Sebastian Dransfeld 286988f003 Fix compiler warnings
SVN revision: 45178
2010-01-15 11:59:58 +00:00
Sebastian Dransfeld 78b294c4a8 make clang happy
SVN revision: 45176
2010-01-15 11:29:50 +00:00
Carsten Haitzler 79dcd015f8 lots of work on compositor stuff. looking slick and nice internally too.
SVN revision: 45159
2010-01-15 04:41:20 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Sebastian Dransfeld 87f1bcb0ed remove unused variables
SVN revision: 45152
2010-01-14 23:48:48 +00:00
Sebastian Dransfeld 6136509b9f make clang happy
x and y are used later and might be garbage

SVN revision: 45150
2010-01-14 23:48:26 +00:00
Sebastian Dransfeld 6e96d85186 free list
SVN revision: 45139
2010-01-14 22:10:38 +00:00
Sebastian Dransfeld de275b5a85 Make selected desktops show in advanced config
e_widget_ilist_count does not work as it did, as it
e_widget_ilist_multi_select only queues commands and the change is not
instant. Add own counter for ilist position.

Also set pointer for config desk_list to new list on apply.

SVN revision: 45138
2010-01-14 22:10:28 +00:00
Sebastian Dransfeld 91a1ce39cb formatting
SVN revision: 45137
2010-01-14 22:10:17 +00:00
Sebastian Dransfeld 2392772af4 formatting
SVN revision: 45136
2010-01-14 22:10:00 +00:00
Sebastian Dransfeld 44b1509345 Fix "selected" emit
Only emit "selected" on mouse up if we are in single click mode and no
modifiers is set.
Need to check for single_click first, so that inplace_open isn't called
on doubleclick.

Fixes ticket 375

SVN revision: 45130
2010-01-14 20:55:04 +00:00
Christopher Michael dec35ad102 When creating the canvas for a zone, use the zone->x & zone->y as canvas
position rather than always at zero/zero.



SVN revision: 45116
2010-01-14 18:24:14 +00:00
Christopher Michael df9e501b10 No point in running find_by_client_window here, we don't use the border
anyway.



SVN revision: 45057
2010-01-12 03:33:34 +00:00
Sebastian Dransfeld 4ebf5160ec Make param const
We never change path, so make it const.

SVN revision: 45051
2010-01-11 20:35:01 +00:00
Carsten Haitzler dc87e6da83 s = NULL
SVN revision: 45027
2010-01-11 00:50:14 +00:00
Carsten Haitzler bbd8bddc1e try and be more robust on profile.cfg load.
SVN revision: 45014
2010-01-10 16:25:26 +00:00
Carsten Haitzler 74e89eba71 comments++
SVN revision: 44999
2010-01-09 01:01:56 +00:00
Carsten Haitzler 4ed5747b83 dont show ecore-evas of internal windows b4efore border evals! do it there!
SVN revision: 44995
2010-01-08 23:08:07 +00:00
Sebastian Dransfeld f62b54b960 Strip file:// from uri
SVN revision: 44991
2010-01-08 20:26:55 +00:00
Christopher Michael 8dbdeb73da Check event handlers are valid before trying to delete them.
Use PATH_MAX.
Fix formatting/whitespace.



SVN revision: 44990
2010-01-08 20:17:07 +00:00
Sebastian Dransfeld b2beb53360 Split evas from ecore_input
SVN revision: 44957
2010-01-07 19:26:52 +00:00
Carsten Haitzler dfd5f13aee make alerts work with composite managers in modules.. so if we segv... we can
see it and recover etc. - requires module compmgr to "do the right thing" and
advertise the composite window.



SVN revision: 44924
2010-01-06 15:04:33 +00:00
Christopher Michael ffaef6196d When setting gadcon zone, record the zone id in config struct. (There was a
placeholder for it, but never got filled).
Fix some formatting while I am in here.



SVN revision: 44914
2010-01-05 22:06:47 +00:00
Christopher Michael 56178c136b Use e_scale when calculating window width/height.
SVN revision: 44907
2010-01-05 05:28:05 +00:00
Christopher Michael 9d4f41fe94 Use PATH_MAX instead of 4096.
Fix some formatting issues.



SVN revision: 44897
2010-01-04 21:39:07 +00:00
Gustavo Sverzut Barbieri 75856e21ea Add various missing libraries linkages, by Lutin.
SVN revision: 44889
2010-01-04 19:37:06 +00:00
Christopher Michael f435c770e4 Add illume atoms to e_border struct.
Add code to fetch illume atoms on border map & property changes (if needed).
    - This avoids a lot of round-trip calls to X when running illume2.
Remove whitespace & fix some formatting.
Use PATH_MAX instead of 4096.
Update illume2 code to use new border atoms and avoid round-trip X calls.



SVN revision: 44879
2010-01-04 18:15:56 +00:00
Christopher Michael 46387d608c Remove wasted whitespace. Fix some formatting.
SVN revision: 44835
2009-12-31 22:45:34 +00:00
Iván Briano 1c2ba52eb4 Add Move and Resize to the border menu.
SVN revision: 44820
2009-12-31 03:34:27 +00:00
Christopher Michael 694a80290f Fix nasty formatting.
Remove whitespace.
Use -1 for eina_list_sort (saves a function call to eina_list_count).



SVN revision: 44801
2009-12-30 18:24:37 +00:00
Christopher Michael b5981c8e58 Fix function prototype...no idea how this even compiled all this time.
SVN revision: 44749
2009-12-28 18:01:39 +00:00
kiwi 525ce104cf if a change was made in basic/advanced mode, the ok/apply button should be enabled when you go back to that mode
ok barbieri


SVN revision: 44746
2009-12-28 08:19:52 +00:00
kiwi 0e14736338 avoid duplicate widget_change() on check/uncheck
ok barbieri


SVN revision: 44745
2009-12-28 08:14:17 +00:00
Christopher Michael a245fb11cf e_utils - Use PATH_MAX, not 4096.
e_fm.c - An idler is not a timer. Use proper variable type. Formatting.



SVN revision: 44700
2009-12-23 21:29:36 +00:00
Christopher Michael 69581f2d37 A poller is not a timer. Use proper variable type, and proper delete function.
SVN revision: 44689
2009-12-23 14:04:22 +00:00
Samuel F. Baggen 6b03d701d5 do not return if we dont have prev_ld_library_path, sometimes we still need to do the next thing
SVN revision: 44658
2009-12-22 16:09:17 +00:00
Christopher Michael 0007331545 Check that zone exists first before trying to use it.
No need to set border zone twice here.



SVN revision: 44640
2009-12-21 20:54:09 +00:00
Christopher Michael 3f6dd189c8 Formatting.
Remove whitespace.



SVN revision: 44620
2009-12-21 04:07:44 +00:00
Vincent Torri 7e7e0a8a55 fix last void * arith
SVN revision: 44562
2009-12-19 08:39:11 +00:00
Carsten Haitzler 672d1de1e3 fix more void * arith!
SVN revision: 44560
2009-12-19 00:15:16 +00:00
Carsten Haitzler 7c650aaa62 dont use void *'s and poitner arithmetic! char * is what was intended
SVN revision: 44558
2009-12-18 23:53:39 +00:00