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
This commit is contained in:
Vincent Torri 2011-08-11 21:47:46 +00:00 committed by Mike Blumenkrantz
parent 220beb8bbb
commit c918bb5963
1 changed files with 1 additions and 3 deletions

View File

@ -238,7 +238,6 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
Evas_Object *o;
const char *bgfile = "";
const char *trans = "";
const char *ext;
E_Desk *desk;
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)
evas_object_clip_set(o, zone->bg_clip_object);
evas_object_show(o);
}
if (bgfile) ext = strrchr(bgfile, '.');
if ((ext) && (!strcasecmp(ext, ".edj")))
if (eina_str_has_extension(bgfile, ".edj"))
{
o = edje_object_add(zone->container->bg_evas);
evas_object_data_set(o, "e_zone", zone);