From: Ben Hutchings Date: Tue, 15 May 2007 00:49:09 +0000 (+0000) Subject: Changed to replace "Lock screen" menu entry rather than adding a second one. X-Git-Tag: 20070506-1~8 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3.git;a=commitdiff_plain;h=82c93abbc4bf73235f8096f00a9744af9fa16082 Changed to replace "Lock screen" menu entry rather than adding a second one. --- diff --git a/debian/patches/202_fix-menus.diff b/debian/patches/202_fix-menus.diff index 6961ec8..9942ca9 100755 --- a/debian/patches/202_fix-menus.diff +++ b/debian/patches/202_fix-menus.diff @@ -15,15 +15,15 @@ exit 0 diff -Nur ion3-20060524.orig/etc/cfg_ioncore.lua ion3-20060524/etc/cfg_ioncore.lua --- ion3-20060524.orig/etc/cfg_ioncore.lua 2006-05-24 18:23:26.000000000 +0200 +++ ion3-20060524/etc/cfg_ioncore.lua 2006-07-29 11:14:57.000000000 +0200 -@@ -330,11 +330,14 @@ +@@ -330,11 +330,13 @@ -- Main menu defmenu("mainmenu", { menuentry("Run...", "mod_query.query_exec(_)"), - menuentry("Terminal", "ioncore.exec_on(_, XTERM or 'xterm')"), + menuentry("Terminal", "ioncore.exec_on(_, 'x-terminal-emulator')"), - menuentry("Lock screen", "ioncore.exec_on(_, 'xlock')"), -+ menuentry("Lock screen", -+ "ioncore.exec_on(_, ioncore.lookup_script('ion-lock'))"), +- 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"),