summaryrefslogtreecommitdiff
path: root/src/bin/e_bg.c
diff options
context:
space:
mode:
authorVincent Torri <vtorri@univ-evry.fr>2011-08-11 21:47:46 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-08-11 21:47:46 +0000
commitc918bb596317dfea7f99a1ba1325b449d5c5f3ed (patch)
tree20462790ec420ff033854010e85b3569fe8a55e0 /src/bin/e_bg.c
parent220beb8bbb7e85039f6aec4755b4842cf71eebbe (diff)
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
Diffstat (limited to 'src/bin/e_bg.c')
-rw-r--r--src/bin/e_bg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/e_bg.c b/src/bin/e_bg.c
index a918d00..72ed93c 100644
--- a/src/bin/e_bg.c
+++ b/src/bin/e_bg.c
@@ -238,7 +238,6 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
238 Evas_Object *o; 238 Evas_Object *o;
239 const char *bgfile = ""; 239 const char *bgfile = "";
240 const char *trans = ""; 240 const char *trans = "";
241 const char *ext;
242 E_Desk *desk; 241 E_Desk *desk;
243 242
244 if (transition == E_BG_TRANSITION_START) trans = e_config->transition_start; 243 if (transition == E_BG_TRANSITION_START) trans = e_config->transition_start;
@@ -296,8 +295,7 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
296 evas_object_clip_set(o, zone->bg_clip_object); 295 evas_object_clip_set(o, zone->bg_clip_object);
297 evas_object_show(o); 296 evas_object_show(o);
298 } 297 }
299 if (bgfile) ext = strrchr(bgfile, '.'); 298 if (eina_str_has_extension(bgfile, ".edj"))
300 if ((ext) && (!strcasecmp(ext, ".edj")))
301 { 299 {
302 o = edje_object_add(zone->container->bg_evas); 300 o = edje_object_add(zone->container->bg_evas);
303 evas_object_data_set(o, "e_zone", zone); 301 evas_object_data_set(o, "e_zone", zone);