Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c e_fm.c e_thumb_main.c 


Log Message:
.directory files are .desktops to.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.226
retrieving revision 1.227
diff -u -3 -r1.226 -r1.227
--- e_apps.c    14 Oct 2006 12:08:31 -0000      1.226
+++ e_apps.c    14 Oct 2006 12:20:52 -0000      1.227
@@ -2698,7 +2698,7 @@
      return 0;
 
    p++;
-   if (strcasecmp(p, "desktop"))
+   if ((strcasecmp(p, "desktop") != 0) && (strcasecmp(p, "desktop") != 0))
      return 0;
 
    return 1;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -3 -r1.86 -r1.87
--- e_fm.c      11 Oct 2006 03:24:11 -0000      1.86
+++ e_fm.c      14 Oct 2006 12:20:52 -0000      1.87
@@ -1393,7 +1393,7 @@
        if (mime) ic->info.mime = evas_stringshare_add(mime);
      }
    
-   if (e_util_glob_case_match(ic->info.file, "*.desktop"))
+   if ((e_util_glob_case_match(ic->info.file, "*.desktop")) || 
(e_util_glob_case_match(ic->info.file, "*.directory")))
      _e_fm2_icon_desktop_load(ic);
    evas_event_freeze(evas_object_evas_get(sd->obj));
    edje_freeze();
@@ -1809,9 +1809,7 @@
                                                 gen_func, data);
                  _e_fm2_icon_thumb(ic, oic, force_gen);
               }
-            else if (
-                     (e_util_glob_case_match(ic->info.file, "*.desktop"))
-                     )
+            else if ((e_util_glob_case_match(ic->info.file, "*.desktop")) || 
(e_util_glob_case_match(ic->info.file, "*.directory")))
               {
                  E_App *app;
                  
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_thumb_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_thumb_main.c      17 Sep 2006 23:13:10 -0000      1.16
+++ e_thumb_main.c      14 Oct 2006 12:20:52 -0000      1.17
@@ -336,7 +336,7 @@
        alpha = 1;
        ext = strrchr(eth->file, '.');
 
-       if ((ext) && (!strcasecmp(ext, ".desktop")))
+       if ( (ext) && ((!strcasecmp(ext, ".desktop")) || (!strcasecmp(ext, 
".directory"))) )
          {
             Ecore_Desktop *desktop;
 



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