Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:
No need to search for the icon if we already have it.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -3 -r1.161 -r1.162
--- e_apps.c    1 Sep 2006 09:26:55 -0000       1.161
+++ e_apps.c    1 Sep 2006 15:06:30 -0000       1.162
@@ -1165,11 +1165,12 @@
 
           if (desktop->exec)  a->exe = evas_stringshare_add(desktop->exec);
           if (desktop->icon_class)  a->icon_class = 
evas_stringshare_add(desktop->icon_class);
+          if (desktop->icon_path)  a->icon_path = 
evas_stringshare_add(desktop->icon_path);
           if (desktop->window_class)  a->win_class = 
evas_stringshare_add(desktop->window_class);
           if (desktop->startup)
               a->startup_notify = *(desktop->startup);
 
-          if (desktop->icon)
+          if ((desktop->icon)  && (!desktop->icon_path))
              {
                 /* FIXME: Should do this only when needed, is it can be 
expensive. */
                 /* FIXME: Use a real icon size. */



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to