Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_border_menu.c 


Log Message:


make create icon simpler - we just use generic _new_app_21432432.2.eap names
for brand new eaps as we dont knwo what to call them until theyare fileld out
- it's also a good way to track what e has created itself :) (filename isnt
that important really)

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_int_border_menu.c 14 May 2006 01:13:42 -0000      1.16
+++ e_int_border_menu.c 14 May 2006 02:08:36 -0000      1.17
@@ -529,32 +529,9 @@
    
    bd = data;
    a = bd->app;
-   if ((!a) && (bd->client.icccm.class))
+   if (!a)
      {
-       static char buf[PATH_MAX];
-       char *name, *homedir, *p;
-       int instance;
-
-       name = alloca(strlen(bd->client.icccm.class) + 1);
-       strcpy(name, bd->client.icccm.class);
-       p = name;
-       while (*p)
-         {
-            if (*p == ' ') *p = '_';
-            else if (*p == '/') *p = '_';
-            else if (*p == '.') *p = '_';
-            p++;
-         }
-       homedir = e_user_homedir_get();
-       snprintf(buf, sizeof(buf), "%s/.e/e/applications/all/%s.eap", homedir, 
name);
-       instance = 0;
-       while (ecore_file_exists(buf))
-         {
-            snprintf(buf, sizeof(buf), "%s/.e/e/applications/all/%s-%i.eap", 
homedir, name, instance);
-            instance++;
-         }
-       free(homedir);
-       a = e_app_empty_new(buf);
+       a = e_app_empty_new(NULL);
        if (a)
          {
             if (bd->client.icccm.name) a->win_name = 
evas_stringshare_add(bd->client.icccm.name);




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