Hi,

attached a workaround to bring up the menus on debian etch systems.
Maybe it's not the "right" way, but it helps me to see the system menus
in the e menu.

Bye,
Thomas


-- 
 Stark, Thomas <[EMAIL PROTECTED]>
--- cvs/e17/libs/efreet/src/lib/efreet_menu.c	2007-04-15 12:13:25.000000000 +0200
+++ build/e17/libs/efreet/src/lib/efreet_menu.c	2007-04-22 19:51:30.000000000 +0200
@@ -581,6 +581,10 @@
                                     dir, efreet_menu_prefix_get());
         if (ecore_file_exists(menu))
             return efreet_menu_parse(menu);
+        /* Try debian menu file */
+        snprintf(menu, sizeof(menu), "%s/menus/debian-menu.menu", dir);
+        if (ecore_file_exists(menu))
+            return efreet_menu_parse(menu);
     }
 
     return NULL;
-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to