Hi, please, debian people, can try this patch?
If you don't want to apply the patch+compile+... You can change the lines with "-" by "+" in /etc/menu-methods/wmaker file, then run "update-menus -v" as root. Then show the menu (right click). Please Carlos, don't apply it yet, I need users check it because can be so long and we can have problems with small screens resolutions. Comments are welcome. Thanks. PS. The patch is small, but I spent a lot of time with it... dammit. -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/
>From 82cb6939ed3ab5d339e74f6edf07965fdb441bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]> Date: Thu, 1 Mar 2012 00:33:36 +0100 Subject: [PATCH] debian: Menu Applications moved to root menu The Application/* items ara moved to the root menu, removing the "Applications" submenu. --- debian/wmaker.menu-method | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/wmaker.menu-method b/debian/wmaker.menu-method index aa3e55b..62c01fa 100644 --- a/debian/wmaker.menu-method +++ b/debian/wmaker.menu-method @@ -5,6 +5,7 @@ !include menu.h compat="menu-1"; outputencoding="UTF-8" +outputlanguage="C" genmenu="menu.hook" rootprefix="/usr/share/WindowMaker" @@ -12,11 +13,10 @@ userprefix=shell("echo -n /${GNUSTEP_USER_ROOT-GNUstep}") "/Library/WindowMaker/ treewalk="(M)" rootsection="/Debian" - function mytitle()=replacewith(title(),"\"","'") function exec($action,$com)= \ - " \"" mytitle() "\" " ifnempty($shortcut, "SHORTCUT " $shortcut " ") $action " " esc($com,"*") "\n" + " \"" translate(,mytitle()) "\" " ifnempty($shortcut, "SHORTCUT " $shortcut " ") $action " " esc($com,"*") "\n" supported x11= exec("SHEXEC",$command) @@ -33,13 +33,13 @@ submenutitle= "" startmenu= "\n" \ ifelse( \ title(), \ - "\"" mytitle() "\" MENU", \ + ifneq(mytitle(), "Applications", "\"" translate(,mytitle()) "\" MENU"), \ "Debian MENU\n\n" \ ) \ "\n" endmenu= ifelse( \ title(), \ - "\"" mytitle() "\" END", \ + ifneq(mytitle(), "Applications", "\"" translate(,mytitle()) "\" END"), \ "\n\nDebian END" \ ) \ "\n" -- 1.7.9
