]> git.decadent.org.uk Git - ion3.git/commitdiff
Changed to replace "Lock screen" menu entry rather than adding a second one.
authorBen Hutchings <ben@decadent.org.uk>
Tue, 15 May 2007 00:49:09 +0000 (00:49 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 12:36:37 +0000 (12:36 +0000)
debian/patches/202_fix-menus.diff

index 6961ec8496f95ffe6db522195dc98e7750529af7..9942ca9525ca5e440897f82cb98951563dbfb985 100755 (executable)
@@ -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"),