Commit Graph

65 Commits

Author SHA1 Message Date
Mike Blumenkrantz baed804727 argh, another case of someone making callbacks with the data param last! fix fix! ABI borked again!
SVN revision: 76663
2012-09-14 10:52:08 +00:00
Mike Blumenkrantz a8beb0950c fix usage of PATH_MAX when not working with files
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Mike Blumenkrantz 95d0aa8d0b use animation hint to disable bg animation when setting a bg
SVN revision: 75096
2012-08-10 10:54:29 +00:00
Mike Blumenkrantz f6af7bd8d2 remove all traces of old and unused bg import dialog. whoever put a separate import dialog into e_utils.c, and the person who committed r44556 with the id "barbieri" on 2009-12-18 shall indeed remain nameless, decided to leave the other one hanging around. as a result, the one that he copied from the original sat around without being modified, and now ended up being removed instead of being properly integrated
SVN revision: 75052
2012-08-09 13:58:51 +00:00
Mike Blumenkrantz 5546f4109d formatting
SVN revision: 73502
2012-07-09 11:50:08 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Viktor Kojouharov 96ff415a02 fully remove the BG panning.
add a float_set message directed towards the bg object on desk show


SVN revision: 64102
2011-10-16 14:53:27 +00:00
Carsten Haitzler cab8970124 and fallback to theme again.
SVN revision: 62709
2011-08-23 03:28:27 +00:00
Carsten Haitzler 2e698e9bad who broke non edj bg's?
SVN revision: 62708
2011-08-23 02:37:25 +00:00
Mike McCormack 1e6baa34a9 e: Fix crash at startup
SVN revision: 62363

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 62392
2011-08-12 15:03:54 +00:00
Carsten Haitzler 4f5dcfc1e4 make default bg work again.
SVN revision: 62371
2011-08-12 05:17:07 +00:00
Vincent Torri c918bb5963 From: Vincent Torri <vtorri@univ-evry.fr>
To: enlightenment-devel@lists.sourceforge.net
Subject: Re: [E-devel] E SVN: discomfitor trunk/e/src/bin
Date: Thu, 11 Aug 2011 23:41:37 +0200 (CEST)

eina suffix or whatever eina function to detect suffi ?

Vincent


SVN revision: 62363
2011-08-11 21:47:46 +00:00
Mike Blumenkrantz 220beb8bbb fix segv
SVN revision: 62362
2011-08-11 21:39:10 +00:00
Carsten Haitzler cc3c3bf07c use eina str has extension.
SVN revision: 62343
2011-08-11 11:07:12 +00:00
Carsten Haitzler 28d6049319 ... allow non edj files as wallpapers... if u try. :)
SVN revision: 62340
2011-08-11 10:39:37 +00:00
Sebastian Dransfeld e9bfb04e12 copy backgrounds to e dir
SVN revision: 55686
2010-12-21 09:26:43 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Gustavo Sverzut Barbieri 0900c11347 'Set as background' mime handler moved to core, refactored.
* Remove 'Set as background' from conf_wallpaper and add it to e_bg
   together with the other code that already was handling
   '*.edj'. This makes more sense and will enable the action in
   presence of both versions of wallpaper dialog;

 * e_utils got pieces required by e_bg that could be used elsewhere,
   one is the dialog to query for options to import, the other is what
   really generates the conversion (import) of image->edj.

 * conf_wallpaper: import thing is way too messy, needs cleaning or
   removal. I don't care much about it as I plan to improve wallpaper2
   instead.



SVN revision: 44556
2009-12-18 22:20:08 +00:00
Gustavo Sverzut Barbieri 8a8025c6d8 e_bg: improvements and start import process (unfinished!)
I ran out of time, so if someone wants to finish the move of
e_int_config_wallpaper_import.c to standard e_bg.c I appreciate the
help. Skeleton is there.

With this, it is possible to remove code from conf_wallpaper and have
that functionality in both wallpaper and wallpaper2.



SVN revision: 44527
2009-12-17 23:05:51 +00:00
Gustavo Sverzut Barbieri 9710ec6536 e_bg: delete trailing whitespace.
SVN revision: 44526
2009-12-17 21:59:23 +00:00
Viktor Kojouharov 7acb839557 reconfigure the zone bg on zone move/resize, and make sure it is recalculated if the bg pans
SVN revision: 42419
2009-09-11 17:27:08 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +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
Davide Andreoli fc66fc7c73 More icon renamed, for more info look at default.edc (around line 22650). I'm keeping there a mapping between e old names and fdo ones.
SVN revision: 39374
2009-03-05 02:39:50 +00:00
Carsten Haitzler 20fd541692 and now wizard is pretty much required. functionalyl its almost all there.
just the init of ibar/fileman favorites is the old untar code moved to
wizard. icons for all profiels are nto done yet - doing. broung some
backgrounds back - small .edj files though.



SVN revision: 37119
2008-10-26 09:04:05 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Carsten Haitzler 67d9f11185 fix transitions.
SVN revision: 32225
2007-10-31 04:18:20 +00:00
Christopher Michael d6d08445e2 Cleanup e_bg & e_theme nicely by removing globs.
Tell compiler about more unused hash params in e_fm_mime.c


SVN revision: 32090
2007-10-16 11:07:52 +00:00
Christopher Michael 44f2074c49 Add some safety checks in case mime_handler_new returns NULL.
SVN revision: 32074
2007-10-14 18:16:44 +00:00
Christopher Michael 08ca1d1e04 Support menu icons for the context menus.
SVN revision: 32069
2007-10-14 16:09:51 +00:00
Christopher Michael ce341fa4df E_FM Context Menus :)
Big Thanks to CodeWarrior for his help !!!

Add context handler for backgrounds. Can now right-click an .edj and Set as
Background.


SVN revision: 32068
2007-10-14 16:06:51 +00:00
Christopher Michael 53d42f392b Minor formatting fixes. Init some Evas_List vars to null first.
SVN revision: 32048
2007-10-12 18:36:48 +00:00
Sebastian Dransfeld 4480e0a947 Better check for 0 stringlength.
SVN revision: 31369
2007-08-17 17:23:06 +00:00
Sebastian Dransfeld 69d586e5dd Formatting.
SVN revision: 29385
2007-04-05 18:01:35 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Carsten Haitzler d4b9d10177 1. fixed some inefficient edje loading - moved checks to the cache code where
it sould be
2. fixed edje handling of delete of objects so we don't lose clip info if we
move a swallowed object out
3. fix up norender stuff for evas a bit
4. pants.

5. coogee beach (sydney) in summer right now is beatiful - KICK ASS!


SVN revision: 28102
2007-01-22 12:44:57 +00:00
Sebastian Dransfeld 5f0627fe83 Remove unused variable.
SVN revision: 27595
2006-12-28 14:05:29 +00:00
rephorm 80478f40d8 Allow setting bg of desktops from within virtual desktop dialog.
For now, left click on the small desktop.
We'll probably add a menu on click, with the ability to set the desktop name or set bg.


SVN revision: 26700
2006-10-20 03:23:46 +00:00
Carsten Haitzler f261c9e1a8 metric pooch!
SVN revision: 26674
2006-10-17 12:29:00 +00:00
rephorm 1532587bcb Dynamically add and remove desks in the preview when you change the # of virtual desks.
A few small fixmes still to go


SVN revision: 26662
2006-10-16 23:45:16 +00:00
rephorm bb126fe596 fix wallpaper setting by screen
correct wallpaper is now found if "this screen" AND "this desktop" have been set (in that order)


SVN revision: 26648
2006-10-16 04:52:31 +00:00
rephorm 7c2f28556a add preview widget to Virtual Desktops dialog
SVN revision: 26455
2006-10-09 19:06:43 +00:00
rephorm e41e945e3b break code that finds bg file for a zone into a separate function
SVN revision: 26433
2006-10-08 21:15:21 +00:00
rephorm 462bda0f22 another chunk
all group names prefaced by e/
its entirely possible i missed a few small places in this, so there may be some growing pains in the next day or two

also, spectrum content -> e.swallow.content


SVN revision: 25057
2006-08-23 03:39:02 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00
sebastid 7a7701d90c Remove unnecessary char * cast.
SVN revision: 24995
2006-08-21 15:35:17 +00:00