Em 03-11-2010 13:03, Gustavo Sverzut Barbieri escreveu:
> On Wed, Nov 3, 2010 at 7:46 AM, Brian Wang<brian.wang.0...@gmail.com>  wrote:
>> On Wed, Nov 3, 2010 at 5:27 PM, Rui Miguel Silva Seabra<r...@1407.org>  
>> wrote:
>>> Em 03-11-2010 01:05, Brian Wang escreveu:
>>>> On Wed, Nov 3, 2010 at 8:11 AM, Rui Miguel Silva Seabra<r...@1407.org>
>>>>   wrote:
>>>>> Hi,
>>>>>
>>>>> So I've been a bit surprised by the change of "icons" in elm_toolbar
>>>>> from an Evas_Object * into a const char *.
>>>>>
>>>>> How do I use an icon not predicted by elementary now?
>>>> elm_theme_overlay_add() your theme file, which contains
>>>> "elm/icon/toolbar/YOUR_ICON_NAME/default" as the group.  Just copy and
>>>> modify the part of the icon section of elementary's default.edc.
>>>>
>>>> I was surprised too. :-)
>>> Isn't that a bit too excessive just to change *one* icon?
>> Forwarding this to the list...
> you can also give fdo name and it should find (see ephoto), maybe we
> can add code to detect for absolute paths and check for known
> extensions like jpeg/png and load them as files
Why not:
   1. check theme
   2. if 1 fails, check fdo
   3. if 2 fails, check path
   3.1 don't do extention check, just trust the evas-loader

Rui

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to