Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : libs/efreet

Dir     : e17/libs/efreet/src/lib


Modified Files:
        efreet_menu.c 


Log Message:
Fix Merge type="all"

===================================================================
RCS file: /cvs/e/e17/libs/efreet/src/lib/efreet_menu.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- efreet_menu.c       5 May 2007 07:21:40 -0000       1.16
+++ efreet_menu.c       5 May 2007 07:49:01 -0000       1.17
@@ -3842,7 +3842,14 @@
         }
         else if (internal->sub_menus && !strcmp(layout->name, "all"))
         {
-            /* XXX: Add all menus and files, and sort them. */
+            char *orig;
+           
+            orig = layout->name;
+            layout->name = "menus";
+            efreet_menu_layout_entries_get(entry, internal, layout);
+            layout->name = "files";
+            efreet_menu_layout_entries_get(entry, internal, layout);
+            layout->name = orig;
         }
     }
     else if (layout->type == EFREET_MENU_LAYOUT_SEPARATOR)



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to