Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c e_fdo_menu_to_order.c 


Log Message:
No more (null) menus.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -3 -r1.170 -r1.171
--- e_apps.c    4 Sep 2006 11:50:23 -0000       1.170
+++ e_apps.c    4 Sep 2006 15:21:15 -0000       1.171
@@ -1163,8 +1163,7 @@
           if (desktop->icon_class)  a->icon_class = 
evas_stringshare_add(desktop->icon_class);
           if (desktop->icon_path)  a->icon_path = 
evas_stringshare_add(desktop->icon_path);
           if (desktop->window_class)  a->win_class = 
evas_stringshare_add(desktop->window_class);
-          if (desktop->startup)
-              a->startup_notify = *(desktop->startup);
+           a->startup_notify = desktop->startup;
 
 //        if (desktop->type)  a->type = evas_stringshare_add(desktop->type);
 //        if (desktop->categories)  a->categories = 
evas_stringshare_add(desktop->categories);
@@ -1292,10 +1291,7 @@
               desktop->icon_class = (char *) a->icon_class;
                desktop->icon_path = (char *) a->icon_path;
               desktop->window_class = (char *) a->win_class;
-              if (a->startup_notify)
-                 desktop->startup = "1";
-              else
-                 desktop->startup = "0";
+              desktop->startup = a->startup_notify;
 
                desktop->type = "Application";
 //               desktop.categories = a->categories;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fdo_menu_to_order.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_fdo_menu_to_order.c       2 Sep 2006 07:20:06 -0000       1.6
+++ e_fdo_menu_to_order.c       4 Sep 2006 15:21:15 -0000       1.7
@@ -99,7 +99,7 @@
 //   item_count++;
    desktop = ecore_desktop_get(file, NULL);
    /* Check If We Process */
-   if ((!desktop->type) || (!strcmp(desktop->type, "Application")))
+   if ( (!desktop->hidden) && (!desktop->no_display) && ((desktop->type == 
NULL) || (strcmp(desktop->type, "Application") == 0)) )
       {
          char order_path[PATH_MAX];
          int length;



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