Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_desktop


Modified Files:
        ecore_desktop.c 


Log Message:
Its a hard icon if only the icon path is specified in the .desktop.

Thanks to jcwong for reporting the bug that lead to finding this.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- ecore_desktop.c     30 Sep 2006 16:45:26 -0000      1.55
+++ ecore_desktop.c     4 Oct 2006 06:17:00 -0000       1.56
@@ -332,6 +332,9 @@
                  result->hard_icon = 1;
               }
 
+            if ((result->icon_theme == NULL) && (result->icon_path != NULL))
+               result->hard_icon = 1;
+
             /* icon/class is a list of standard icons from the theme that can 
override the icon created above.
              * Use (from .desktop) name.edj,exec,categories.  It's case 
sensitive, the reccomendation is to lowercase it.
              * It should be most specific to most generic.  
firefox,browser,internet for instance



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to