diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/ion/ion3/202_fix-menus.diff | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/ion/ion3/202_fix-menus.diff')
-rw-r--r-- | recipes/ion/ion3/202_fix-menus.diff | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes/ion/ion3/202_fix-menus.diff b/recipes/ion/ion3/202_fix-menus.diff new file mode 100644 index 0000000000..999131565f --- /dev/null +++ b/recipes/ion/ion3/202_fix-menus.diff @@ -0,0 +1,49 @@ +--- ion3-20041104.orig/etc/cfg_menus.lua 2004-09-28 14:58:49.000000000 +0000 ++++ ion3-20041104/etc/cfg_menus.lua 2004-11-27 22:37:01.000000000 +0000 +@@ -6,18 +6,21 @@ + -- Main menu + defmenu("mainmenu", { + submenu("Programs", "appmenu"), +- menuentry("Lock screen", "ioncore.exec_on(_, 'xlock')"), ++ menuentry("Lock screen", ++ "ioncore.exec_on(_, ioncore.lookup_script('ion-lock'))"), + menuentry("Help", "mod_query.query_man(_)"), + menuentry("About Ion", "mod_query.show_about_ion(_)"), + submenu("Styles", "stylemenu"), ++ submenu("Debian", "Debian"), + submenu("Session", "sessionmenu"), + }) + + + -- Application menu + defmenu("appmenu", { +- menuentry("XTerm", "ioncore.exec_on(_, 'xterm')"), +- menuentry("Mozilla Firefox","ioncore.exec_on(_, 'firefox')"), ++ menuentry("Terminal", "ioncore.exec_on(_, 'x-terminal-emulator')"), ++ menuentry("Browser", "ioncore.exec_on(_, 'sensible-browser')"), ++ + menuentry("Run...", "mod_query.query_exec(_)"), + }) + +@@ -26,7 +29,7 @@ + defmenu("sessionmenu", { + menuentry("Save", "ioncore.snapshot()"), + menuentry("Restart", "ioncore.restart()"), +- menuentry("Restart PWM", "ioncore.restart_other('pwm')"), ++ menuentry("Restart PWM3", "ioncore.restart_other('pwm3')"), + menuentry("Restart TWM", "ioncore.restart_other('twm')"), + menuentry("Exit", "ioncore.shutdown()"), + }) +@@ -44,3 +47,12 @@ + menuentry("Window info", "mod_query.show_clientwin(_, _sub)", + "_sub:WClientWin"), + }) ++ ++-- Auto-generated Debian menu definitions ++if os.execute("test -x /usr/bin/update-menus") == 0 then ++ if ioncore.is_i18n() then ++ dopath("debian-menu-i18n") ++ else ++ dopath("debian-menu") ++ end ++end |