Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/src


Modified Files:
        e_apps.c userconfig.c 


Log Message:
more eapp->eap
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/e_apps.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_apps.c    2 Jan 2005 22:54:53 -0000       1.2
+++ e_apps.c    27 Jun 2005 14:42:28 -0000      1.3
@@ -2,7 +2,7 @@
 
 /* TODO List:
  * 
- * * if a application .eapp file is added in a different location in a 
monitored app tree but has the same filename as an existing one somewhere else, 
the existing one gets a changed callback, not an dded callback for the new one
+ * * if a application .eap file is added in a different location in a 
monitored app tree but has the same filename as an existing one somewhere else, 
the existing one gets a changed callback, not an dded callback for the new one
  * * track app execution state, visibility state etc. and call callbacks
  * * calls to execute an app or query its runing/starting state etc.
  */
@@ -101,7 +101,7 @@
        char buf[4096];
        
        a->path = strdup(path);
-       snprintf(buf, sizeof(buf), "%s/.directory.eapp", path);
+       snprintf(buf, sizeof(buf), "%s/.directory.eap", path);
        a->directory_mod_time = e_file_mod_time(buf);
        if (e_file_exists(buf))
          _e_app_fields_fill(a, buf);
@@ -113,7 +113,7 @@
      {
        char *p;
        
-       /* check if file ends in .eapp */
+       /* check if file ends in .eap */
        p = strrchr(path, '.');
        if (!p)
          {
@@ -121,7 +121,7 @@
             return NULL;
          }
        p++;
-       if ((strcasecmp(p, "eapp")))
+       if ((strcasecmp(p, "eap")))
          {
             free(a);
             return NULL;
@@ -703,7 +703,7 @@
        mod_time = e_file_mod_time(a->path);
        snprintf(buf, sizeof(buf), "%s/.order", a->path);
        order_mod_time = e_file_mod_time(buf);
-       snprintf(buf, sizeof(buf), "%s/.directory.eapp", a->path);
+       snprintf(buf, sizeof(buf), "%s/.directory.eap", a->path);
        directory_mod_time = e_file_mod_time(buf);
        if ((mod_time != a->mod_time) ||
            (order_mod_time != a->order_mod_time) ||
@@ -730,7 +730,7 @@
                    }
                  if (directory_mod_time != a->directory_mod_time)
                    {
-                      snprintf(buf, sizeof(buf), "%s/.directory.eapp", 
a->path);
+                      snprintf(buf, sizeof(buf), "%s/.directory.eap", a->path);
                       _e_app_fields_empty(a);
                       _e_app_fields_fill(a, buf);
                       ch = calloc(1, sizeof(E_App_Change_Info));
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/userconfig.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- userconfig.c        10 Jun 2005 19:55:03 -0000      1.16
+++ userconfig.c        27 Jun 2005 14:42:28 -0000      1.17
@@ -16,16 +16,16 @@
 {
   Evas_List      *l;
 
-  od_unmatched_app = e_app_new(PACKAGE_DATA_DIR "/icons/xapp.eapp", 0);
+  od_unmatched_app = e_app_new(PACKAGE_DATA_DIR "/icons/xapp.eap", 0);
   if (!od_unmatched_app) {
-    printf("ERROR: Engage could not locate default icon xapp.eapp - please 
make install\n");
+    printf("ERROR: Engage could not locate default icon xapp.eap - please make 
install\n");
     ecore_main_loop_quit();
     exit(1);
   }
 
   maplist = e_app_new(fp, 1);
   if (!maplist) {
-    printf("You must create the %s/ directory and populate it with .eapp files 
or a .order file\n", fp);
+    printf("You must create the %s/ directory and populate it with .eap files 
or a .order file\n", fp);
     return;
   }
 




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to