]> git.decadent.org.uk Git - ion3.git/blob - debian/patches/202_fix-menus.diff
Added pointer to RELNOTES.
[ion3.git] / debian / patches / 202_fix-menus.diff
1 #! /bin/sh -e
2 if [ $# -ne 1 ]; then
3     echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
4     exit 1
5 fi
6 case "$1" in
7     -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
8     -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
9     *)  
10         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
11         exit 1;;
12 esac 
13 exit 0
14 @DPATCH@
15 diff -Nur ion3-20060524.orig/etc/cfg_ioncore.lua ion3-20060524/etc/cfg_ioncore.lua
16 --- ion3-20060524.orig/etc/cfg_ioncore.lua      2006-05-24 18:23:26.000000000 +0200
17 +++ ion3-20060524/etc/cfg_ioncore.lua   2006-07-29 11:14:57.000000000 +0200
18 @@ -330,11 +330,14 @@
19  -- Main menu
20  defmenu("mainmenu", {
21      menuentry("Run...",         "mod_query.query_exec(_)"),
22 -    menuentry("Terminal",       "ioncore.exec_on(_, XTERM or 'xterm')"),
23 +    menuentry("Terminal",       "ioncore.exec_on(_, 'x-terminal-emulator')"),
24      menuentry("Lock screen",    "ioncore.exec_on(_, 'xlock')"),
25 +    menuentry("Lock screen",                                                                                                                                  
26 +              "ioncore.exec_on(_, ioncore.lookup_script('ion-lock'))"),                                                                                       
27      menuentry("Help",           "mod_query.query_man(_)"),
28      menuentry("About Ion",      "mod_query.show_about_ion(_)"),
29      submenu("Styles",           "stylemenu"),
30 +    submenu("Debian",           "Debian"),
31      submenu("Session",          "sessionmenu"),
32  })
33