On Tue, 11 Jan 2011, Enlightenment SVN wrote:
> Log: > ooh and ALSO handle files if .edj - if full path set. > > > > Author: raster > Date: 2011-01-11 02:09:48 -0800 (Tue, 11 Jan 2011) > New Revision: 56050 > Trac: http://trac.enlightenment.org/e/changeset/56050 > > Modified: > trunk/e/src/bin/e_icon.c > > Modified: trunk/e/src/bin/e_icon.c > =================================================================== > --- trunk/e/src/bin/e_icon.c 2011-01-11 09:58:34 UTC (rev 56049) > +++ trunk/e/src/bin/e_icon.c 2011-01-11 10:09:48 UTC (rev 56050) > @@ -60,10 +60,15 @@ > e_icon_file_set(Evas_Object *obj, const char *file) > { > E_Smart_Data *sd; > + int len; > > if (!(sd = evas_object_smart_data_get(obj))) > return EINA_FALSE; > > + len = strlen(file); > + if ((len > 4) && (!strcasecmp(file + len - 4, ".edj"))) eina_str_has_suffix() Vincent > + return e_icon_file_edje_set(obj, file, "icon"); > + > /* smart code here */ > _e_icon_obj_prepare(obj, sd); > /* FIXME: 64x64 - unhappy about this. use icon size */ > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel