remove references to quake, it's unhelpful. It's now 'hide_window'

This commit is contained in:
Chris Jones 2009-01-25 18:33:22 +00:00
parent 201057e7f2
commit c3a2b5d2bb
6 changed files with 8 additions and 9 deletions

View File

@ -35,7 +35,7 @@ Terminator window (good with \-m)
.TP .TP
.B \-H, \-\-hidden .B \-H, \-\-hidden
Hide the Terminator window by default. Its visibility can be toggled Hide the Terminator window by default. Its visibility can be toggled
with the \fBquake\fR keyboard shortcut (Ctrl-Shift-Alt-a by default) with the \fBhide_window\fR keyboard shortcut (Ctrl-Shift-Alt-a by default)
.TP .TP
.B \-\-no_gconf .B \-\-no_gconf
Ignore the gconf settings of gnome-terminal Ignore the gconf settings of gnome-terminal

View File

@ -169,7 +169,7 @@ Controls whether the Terminator window will be started without window borders
Default value: \fBFalse\fR Default value: \fBFalse\fR
.TP .TP
.B hidden \fR(boolean) .B hidden \fR(boolean)
Hides the Terminator window by default. Its visibility can be toggled with the \fBquake\fR keybinding (Ctrl-Shift-Alt-a by default) Hides the Terminator window by default. Its visibility can be toggled with the \fBhide_window\fR keybinding (Ctrl-Shift-Alt-a by default)
Default value: \fBFalse\fR Default value: \fBFalse\fR
.TP .TP
.B handle_size .B handle_size

View File

@ -150,7 +150,7 @@ Defaults = {
'full_screen' : 'F11', 'full_screen' : 'F11',
'reset' : '<Ctrl><Shift>R', 'reset' : '<Ctrl><Shift>R',
'reset_clear' : '<Ctrl><Shift>G', 'reset_clear' : '<Ctrl><Shift>G',
'quake' : '<Ctrl><Shift><Alt>a', 'hide_window' : '<Ctrl><Shift><Alt>a',
} }
} }

View File

@ -38,7 +38,7 @@ class ProfileEditor:
'zoom_normal': ['Zoom reset', ''], 'zoom_normal': ['Zoom reset', ''],
'reset': ['Reset terminal state', ''], 'reset': ['Reset terminal state', ''],
'reset_clear': ['Reset and clear terminal', ''], 'reset_clear': ['Reset and clear terminal', ''],
'quake': ['Toggle visibility of the window', ''], 'hide_window': ['Toggle visibility of the window', ''],
} }
# dictionary for results after setting # dictionary for results after setting

View File

@ -31,12 +31,11 @@ from terminatorlib.keybindings import TerminatorKeybindings
from terminatorlib.terminatorterm import TerminatorTerm from terminatorlib.terminatorterm import TerminatorTerm
from terminatorlib.prefs_profile import ProfileEditor from terminatorlib.prefs_profile import ProfileEditor
# import keybinder for quake mode
try: try:
import deskbar.core.keybinder as bindkey import deskbar.core.keybinder as bindkey
except: except:
dbg (_("Unable to find python bindings for deskbar, "\ dbg (_("Unable to find python bindings for deskbar, "\
"QUAKE mode is not available.")) "hide_window is not available."))
pass pass
class TerminatorNotebookTabLabel(gtk.HBox): class TerminatorNotebookTabLabel(gtk.HBox):
@ -273,9 +272,9 @@ class Terminator:
self.hide() self.hide()
try: try:
bindkey.tomboy_keybinder_bind(self.conf.keybindings['quake'],self.cbkeyCloak,term) bindkey.tomboy_keybinder_bind(self.conf.keybindings['hide_window'],self.cbkeyCloak,term)
except: except:
dbg (_("Unable to bind quake key")) dbg (_("Unable to bind hide_window key"))
pass pass
def set_handle_size (self, size): def set_handle_size (self, size):

View File

@ -731,7 +731,7 @@ text/plain
return False return False
mapping = self.terminator.keybindings.lookup(event) mapping = self.terminator.keybindings.lookup(event)
if mapping == "quake": if mapping == "hide_window":
return False return False
if mapping and mapping not in self.UnhandledKeybindings: if mapping and mapping not in self.UnhandledKeybindings: