fvwm-crystal (3.0.5.dfsg-5) 01debianterminal.patch

Summary

 fvwm/components/functions/Exec-Accelerator |    2 +-
 fvwm/components/functions/Preferences-Menu |    5 +++--
 fvwm/preferences/DefaultTerminal           |    2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

x-terminal-emulator is a sensitive fallback choice for terminal

diff -urNad fvwm-crystal-3.0.1~/fvwm/components/functions/Exec-Accelerator fvwm-crystal-3.0.1/fvwm/components/functions/Exec-Accelerator
--- fvwm-crystal-3.0.1~/fvwm/components/functions/Exec-Accelerator	2006-01-18 14:36:21.000000000 -0800
+++ fvwm-crystal-3.0.1/fvwm/components/functions/Exec-Accelerator	2006-02-14 23:19:58.000000000 -0800
@@ -37,7 +37,7 @@
 
 SetEnv DefaultTerminal NO_DEFAULT_TERMINAL_FOUND
 #FindCommand DefaultTerminal urxvt aterm xterm
-CheckPreferences DefaultTerminal "SavePreferences DefaultTerminal 'FindCommand DefaultTerminal urxvt aterm xterm'"
+CheckPreferences DefaultTerminal "SavePreferences DefaultTerminal 'FindCommand DefaultTerminal urxvt aterm xterm x-terminal-emulator'"
 LoadPreferences DefaultTerminal
 
 # Usage: A [command] [command options]
diff -urNad fvwm-crystal-3.0.1~/fvwm/components/functions/Preferences-Menu fvwm-crystal-3.0.1/fvwm/components/functions/Preferences-Menu
--- fvwm-crystal-3.0.1~/fvwm/components/functions/Preferences-Menu	2006-01-24 13:39:28.000000000 -0800
+++ fvwm-crystal-3.0.1/fvwm/components/functions/Preferences-Menu	2006-02-14 23:21:23.000000000 -0800
@@ -26,11 +26,12 @@
 Test (x urxvt) + '%22x22/apps/urxvt.png%URxvt'	SelectDefaultTerminal urxvt
 Test (x aterm) + '%22x22/apps/aterm.png%Aterm'	SelectDefaultTerminal aterm
 Test (x xterm) + '%22x22/apps/xterm.png%XTerm'	SelectDefaultTerminal xterm
+Test (x x-terminal-emulator) + '%22x22/apps/xterm.png%Debian Default Terminal' SelectDefaultTerminal x-terminal-emulator
 
 DestroyFunc SelectDefaultTerminal
 AddToFunc SelectDefaultTerminal
-+ I FindCommand DefaultTerminal $0 urxvt Eterm aterm mrxvt xterm gnome-terminal konsole xfce4-terminal
-+ I SavePreferences DefaultTerminal "FindCommand DefaultTerminal $0 urxvt Eterm aterm mrxvt xterm gnome-terminal konsole xfce4-terminal"
++ I FindCommand DefaultTerminal $0 urxvt Eterm aterm mrxvt xterm gnome-terminal konsole xfce4-terminal x-terminal-emulator
++ I SavePreferences DefaultTerminal "FindCommand DefaultTerminal $0 urxvt Eterm aterm mrxvt xterm gnome-terminal konsole xfce4-terminal x-terminal-emulator"
 
 #
 # QuakeConsole terminal
diff -urNad fvwm-crystal-3.0.1~/fvwm/preferences/DefaultTerminal fvwm-crystal-3.0.1/fvwm/preferences/DefaultTerminal
--- fvwm-crystal-3.0.1~/fvwm/preferences/DefaultTerminal	2005-11-29 13:18:23.000000000 -0800
+++ fvwm-crystal-3.0.1/fvwm/preferences/DefaultTerminal	2006-02-14 23:21:38.000000000 -0800
@@ -1 +1 @@
-FindCommand DefaultTerminal urxvt Eterm aterm mrxvt xterm gnome-terminal konsole xfce4-terminal
+FindCommand DefaultTerminal urxvt Eterm aterm mrxvt xterm gnome-terminal konsole xfce4-terminal x-terminal-emulator