Hi again,

attached a newly created patch which should make it clear, that this is
a workaround for my Debian etch system which is installed without GNOME
and KDE. The patch is not intended to be applied as it, but as a
suggestion for the issue I have.

Bye,
Thomas


Am Sonntag, den 22.04.2007, 14:18 -0500 schrieb Ravenlock:
> On 04/22/2007 13:30, Stark, Thomas wrote:
> > 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.
> 
> Alas, this will never get applied (imho).  It occurred to me to do 
> something similar to aid those in the FreeBSD camp.  But then I was 
> reminded that there is a spec which explicitly stated the possible 
> search path.  Deviating from it is not likely.
> 
> Said spec:
>    http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
> 
> > 
> > Bye,
> > Thomas
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > -------------------------------------------------------------------------
> > 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
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> 
-- 
 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 22:26:13.000000000 +0200
@@ -583,6 +583,11 @@
             return efreet_menu_parse(menu);
     }
 
+    /* Try the non standard debian menu file as a last attempt */
+    snprintf(menu, sizeof(menu), "/etc/xdg/menus/debian-menu.menu");
+    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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to