Commit Graph

6087 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 34699a3ba3 fix segv: remove timer when popup is hidden/destroyed.
for quick commands (i call couple of short-named shell scripts) it was
easy to trigger the situation where timer expired after popup was gone
and E got a segv by accessing popup == NULL.



SVN revision: 40932
2009-06-07 02:02:54 +00:00
Gustavo Sverzut Barbieri 2af9f44b4f efm2 hal handling API - full changes.
1. Added E_FM_OP_EJECT command to e_fm_main. It unmounts volume
   before eject, if it necessary.
2. Added timeouts of mounting/unmounting/ejecting media, and
   it's moved to slave e_fm_main.c. Each timeout will generate
   *_MOUNT_ERROR, *_UNMOUNT_ERROR and *_EJECT_ERROR message.
3. Added auto mount on insert media and auto showing efm2 window
   on mount volume options to filemanager config.
4. Added mounted/unmounted glyphs to efm2 icons and track state
   code. Now each removable device have "M" glyph on icon if mounted
   and "U" when unmounted.
5. Added mount/unmount/eject commands to icon dropdown menu.
6. Russian translation of mew messages.
7. Other bugfixes and improvements for co-operation.

Now, efm2 contains all code to mount/umnount/eject removable media and
all code to provide corresponding user interface.
It can working independently from 'places' or co-operate with it.

By: Sergey Semernin



SVN revision: 40928
2009-06-07 00:00:41 +00:00
Gustavo Sverzut Barbieri 987192c54d fix bugs of gadgets using incorrect zones.
I found strange behavior in my configuration (xinerama - two screens
with two zones). When i select a Enlightenment->Restart from menu the
popups for gadgets on desktop doesn't appear or appear wrongly. After
some time i've found that this depends on on from what screen i am
choosing this enlightenment->restart :)

After some debugging i figured it out:

When restarting enlightenment some gadgets (i.e. calendar) are calling
e_gadgon_popup_new(). Inside that function, zone for popup window
(this zone was used later in ecore_evas_move_resize) is calculated
like that:

{{{
zone = e_util_zone_current_get(e_manager_current_get());
and in e_manager_current_get is: ecore_x_pointer_xy_get()
}}}

... so - i have my answer why restaring from one screen (cursor was on
that screen) and from second screen i have different results...

In other words: during initializing module like calendar - created
zone for popup is assigned depending on current cursor position.

In my patch i've chage this to obtain zone using the gadget position
instead.  But it solves the problem partialy.

Next thing - in function:

e_gadget_popup_show() (which is called later) when calculating popup
position coordinates was calculated using zone:

{{{
pop->gcc->gadcon->zone
}}}

which in my case was always the first (initial) zone - (of course it
was wrong, because i put a gadgets on different screens for testing).
so i changed it to zone of popup window (which was calculated before,
in e_gadgon_popup_new()) and after that everythings works ok :) Zones
for popups are correctly assigned and popups calculation are also ok -
even after restaring enlightenment (tested with cursor on both
screens).

By: manio



SVN revision: 40927
2009-06-06 23:40:58 +00:00
Gustavo Sverzut Barbieri 9a8c1a0e44 fix exebuf so it will execute what it should.
Run Command (module exebuf in e) was acting strange for me. I
have .desktops for Firefox and Firefox - Safe mode (well, at least a
menu entries for them), and when I entered "firefox" in the input box,
and choose the command "firefox" from the list under the input field,
exebuf was starting Firefox - Safe Mode (it was the only one showed in
the upper list - "Firefox" was not listed there).
This patch fixes it (the lower selected, upper started problem, not the
"Firefox" is not there one) for me.

By: Tomasz Kontusz


SVN revision: 40926
2009-06-06 23:35:10 +00:00
Gustavo Sverzut Barbieri 128126a732 fix typo that would use the incorrect window border icon.
SVN revision: 40906
2009-06-05 18:50:05 +00:00
Viktor Kojouharov 293b3d41dd e_gadcon_popup now responds to changes in the content's size hint changes, and resizes itself accordingly.
with this, the resize func will no longer be needed, if users of the popup set the size_min hint of the content of the popup.


SVN revision: 40864
2009-05-31 15:48:26 +00:00
Christopher Michael 15bfce009e Use E_FREE for _xdnd, created with E_NEW.
SVN revision: 40836
2009-05-26 16:02:49 +00:00
Christopher Michael 7c78ec900e Formatting. Add missing void in function declaration.
SVN revision: 40835
2009-05-26 14:44:19 +00:00
Viktor Kojouharov 0c1f13b9c3 do full size calc when the content is set, not when it is shown
SVN revision: 40813
2009-05-24 10:02:56 +00:00
Christopher Michael 575c1f43a0 Formatting & Whitespace Removal
SVN revision: 40753
2009-05-19 22:53:46 +00:00
Christopher Michael 56c5dda8e5 Lots of formatting, & Whitespace Removal
SVN revision: 40752
2009-05-19 22:50:35 +00:00
Massimo Maiurana 4147c5156d updating french and italian translations
SVN revision: 40727
2009-05-18 15:35:17 +00:00
Gustavo Sverzut Barbieri 804f59e6e5 fix problem with e_gadcon_provider_register() being called from e_modapi_init().
if e_modapi_init() called e_gadcon_provider_register() the module
gc_init() would be called immediately, becore e_modapi_init() finished
and thus mod->data was unset (it's set by E when that function
returns).

most modules did not show this problem since they keep lots of globals
around and use them, but not mixer module. Mixer module did check for
global mixer_mod to be set and also mixer_mod->data, thus exposed this
problem, with "mixer is not able to show on desktop/gadget" but did in
shelves, since it would refuse to load immediately but would be loaded
later at e_shelf_config_new()->e_gadcon_populate().

Now gadcons are populated from an idler, avoiding all these problems
and probably will impact user's perceived load time since it will do
less work before getting to main loop and being able to process
events.


SVN revision: 40714
2009-05-17 23:43:02 +00:00
Viktor Kojouharov 85c73ac42f skip the history when doing a quick 'open with'
SVN revision: 40713
2009-05-17 21:54:34 +00:00
Gustavo Sverzut Barbieri f583aca207 fix xinerama monitor sorting.
xinerama monitor sorting should consider position and not just size.

Patch by manio, modified to handle y axis as well.



SVN revision: 40712
2009-05-17 21:35:01 +00:00
Gustavo Sverzut Barbieri 97de98a66e Make fallback to parent dir when no permissions.
Now, when "open dirs in place" is active and user haven't permission to
open dir, efm2 fallback to parent directory. Also other events (for ex.
delete)
on dirs opened in efm will cause go to it's parents in efm windows.

Patch to ticket #273.

By Sergey Semernin.



SVN revision: 40711
2009-05-17 21:30:15 +00:00
Gustavo Sverzut Barbieri 6bc8ae5aa6 Improvements to fileman's "open with..." dialog.
Patch originally by manio, with minor changes.


SVN revision: 40710
2009-05-17 21:22:14 +00:00
Christopher Michael d3573bb3da Remove unneeded variables.
SVN revision: 40706
2009-05-17 16:01:41 +00:00
Massimo Maiurana 86f389fd03 updating esperanto translation
SVN revision: 40687
2009-05-17 07:47:15 +00:00
Christopher Michael e56d841f6a Remove need for extra variables. Use E_NEW & E_FREE.
Cleanup Formatting. Remove Whitespace.


SVN revision: 40682
2009-05-15 19:53:25 +00:00
Christopher Michael 898b6f3cae Fix typo, Thanks Viktor :)
SVN revision: 40681
2009-05-15 18:25:55 +00:00
Christopher Michael 6fd36aa8b4 use E_NEW & E_FREE macros
SVN revision: 40680
2009-05-15 18:11:41 +00:00
Christopher Michael 3f11b601c6 Remove some unneeded variables. Formatting & Whitespace removal.
SVN revision: 40679
2009-05-15 17:59:02 +00:00
Carsten Haitzler 87842cb5e7 several patches from sergey etc.
SVN revision: 40668
2009-05-15 11:47:28 +00:00
Cedric BAIL 1f059b500f * wallpaper2: Prevent the creation of the idler instead of forcing it's destruction.
SVN revision: 40645
2009-05-14 16:37:07 +00:00
Carsten Haitzler 8d8687beae some rabid idle enter checks
SVN revision: 40642
2009-05-14 14:28:44 +00:00
Gustavo Sverzut Barbieri 609964ff1a unbreak pager and mouse wheel.
pagers should not rely on events on the edje object as it might get
lots of event replicas if there is a chain of swallows/groups/smarts
and they repeat events.

the new theme exports an e.eventarea part that will get the events and
pager will try to use it, if not fallback to the old behavior.

I cannot test this now, please say if it does not work.



SVN revision: 40616
2009-05-13 11:38:12 +00:00
Gustavo Sverzut Barbieri 4b229ee6da integrate systray translation/gettext into e17.
SVN revision: 40613
2009-05-13 01:28:11 +00:00
Gustavo Sverzut Barbieri e7d14ee3ef remove useless defines.
SVN revision: 40612
2009-05-13 01:27:20 +00:00
Gustavo Sverzut Barbieri 2db93a335f pass make distcheck, set svn:ignore.
SVN revision: 40611
2009-05-13 01:11:32 +00:00
Gustavo Sverzut Barbieri bf3c0ad3a5 finish systray merge to e/src/modules.
systray is now officially supported (at least by me :-P) and is
included in standard e17 module set.



SVN revision: 40610
2009-05-13 00:45:21 +00:00
Gustavo Sverzut Barbieri 4a30e53e1d first step to move systray to e/src/modules.
SVN revision: 40609
2009-05-13 00:06:08 +00:00
Gustavo Sverzut Barbieri 66efea30a0 remove unused/undefined variables, these are in their own dir now.
SVN revision: 40601
2009-05-12 14:43:32 +00:00
Massimo Maiurana 461b560cde adding esperanto translation
SVN revision: 40595
2009-05-11 16:54:12 +00:00
Carsten Haitzler e59ed55f2f remove norender. bad move!
SVN revision: 40568
2009-05-09 11:58:52 +00:00
Carsten Haitzler 3036531147 mount by label first - more useful in real life
SVN revision: 40566
2009-05-09 10:26:12 +00:00
Viktor Kojouharov 648d75caab Larger backgrounds can now be set to scroll whenever a E changes between desks. Kind of like a transition, but uses only one (the first desk's), larger wallpaper instead of several wallpapers for all desks, and it overrides the transition settings if activated.
The option can currently be activated from Virtual Desktops Settings -> Advanced. A better home and preview would be better for these settings.

In more detail, this option can make a wallpaper, larger than the geometry of the zone, scroll appropriately with each desk change. Consider a nice panorama picture, which is as wide as the total desks' width. Then, at most, E will scroll the background by 1 / (number of desks) for each desk change. The direction of the scrolling is dependent on the desk change itself. Also, the user can specify a coefficient of maximum scrolling for each axis. If the coefficient is 0, the wallpaper will not move.

More advanced animations can be constructed with edje. The data item "directional_freedom" "(1|0) (1|0)" can toggle the actual wallpaper scrolling done by E for each axis. A message with the current x/y position, panning w|h, and zone w|h is sent to the background edje with each desk change animation tick. An example embryo script that handles the message, and changes a hypothetical "a1" part in the "e/desktop/background" group is shown below:

         public message(Msg_Type:type, id, ...) {
            if (type == MSG_INT_SET) {
               new x = getarg(2);
               new y = getarg(3);
  //	     new max_x = getarg(4);
  //	     new max_y = getarg(5);
  //	     new w = getarg(6);
  //	     new h = getarg(7);
               custom_state(PART:"a1", "default", 0.0);
               set_state_val(PART:"a1", STATE_FILL_POS, 0.0, 0.0, -x / 4, -y / 4);
               set_state(PART:"a1", "custom", 0.0);
            }
         }




SVN revision: 40543
2009-05-07 18:39:55 +00:00
Carsten Haitzler 9825672529 make bg's deletes when not visible - bettr if you have 1000+ bg's
:)



SVN revision: 40534
2009-05-07 13:27:11 +00:00
Hannes Janetzek 4d24d0eafb everything module: remove old files
SVN revision: 40528
2009-05-06 14:49:01 +00:00
Hannes Janetzek cd647efc07 initial checkin of 'everything' module with sources for apps, windows and settings
SVN revision: 40526
2009-05-06 14:20:45 +00:00
Gustavo Sverzut Barbieri 080c0be517 minor improvements to dialogs asking to enter presentation mode.
SVN revision: 40521
2009-05-06 12:00:19 +00:00
Carsten Haitzler 4fa7de4c9c 1. fm rename in-place patch. ok for now - probably should fix it up later
2. config module fix



SVN revision: 40508
2009-05-05 14:27:28 +00:00
Massimo Maiurana 586ef62d8d another little typo to fix
SVN revision: 40461
2009-04-29 15:39:00 +00:00
Massimo Maiurana 153904f98d fixed a little typo
SVN revision: 40460
2009-04-29 15:36:12 +00:00
Viktor Kojouharov f0936b5b5b disable the slider if flip animations are off
SVN revision: 40455
2009-04-28 21:01:20 +00:00
Viktor Kojouharov d9f453e443 improvements to the tabbed e_fwin. changing tabs will not cause a reload, since each tab holds its own fm object.
ctrl+w will close the current tab. if there are no more tabs, the window will be closed


SVN revision: 40447
2009-04-28 17:38:09 +00:00
Massimiliano Calamelli 5f4f968653 Added #define _POSIX_HOST_NAME_MAX for OSes that don't know it (NetBSD in detail)
SVN revision: 40445
2009-04-28 15:50:32 +00:00
Christopher Michael 06692e1e18 Lots of formatting fixes. Clear the text label in the pager desks if
Show Desktop Names is not enabled. Currently, any changes made to the 
pager module config require the pager module to be restarted (or E 
restarted). This should be addressed before a 1.0 release.


SVN revision: 40443
2009-04-28 15:29:56 +00:00
Iván Briano 04177353ea Share some strings
SVN revision: 40426
2009-04-28 02:19:07 +00:00
Iván Briano e2b5c2e968 trailing spaces
SVN revision: 40425
2009-04-28 01:49:17 +00:00