Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:
Some file manager or something is leaving strange .directory files in
inconvenient places.  Ignore them.

Thanks to Hawkwind for helping track this down.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -3 -r1.233 -r1.234
--- e_apps.c    16 Oct 2006 14:30:03 -0000      1.233
+++ e_apps.c    19 Oct 2006 19:37:26 -0000      1.234
@@ -426,7 +426,8 @@
                  snprintf(buf, sizeof(buf), "%s/.directory", path);
                  if (ecore_file_exists(buf))
                    e_app_fields_fill(a, buf);
-                 else
+                 /* Not all .directory files are created equal, some unknown 
file manager can create bogus ones. */
+                 if (!a->filled)
                    {
                       a->name = 
evas_stringshare_add(ecore_file_get_file(a->path));
                       a->filled = 1;



-------------------------------------------------------------------------
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