Patch from Nicolas Valcárcel to stop clashing with gnome-terminal's shortcuts

This commit is contained in:
Chris Jones 2008-01-05 00:47:57 +00:00
parent be96c38db7
commit 25aec218e9
3 changed files with 10 additions and 10 deletions

View File

@ -36,12 +36,12 @@ msgid "Show scrollbar"
msgstr "Mostrar barra de desplazamiento" msgstr "Mostrar barra de desplazamiento"
#: terminator:348 #: terminator:348
msgid "Split _Horizontally" msgid "Split H_orizontally"
msgstr "Dividir _Horizontalmente" msgstr "Dividir H_orizontalmente"
#: terminator:352 #: terminator:352
msgid "Split _Vertically" msgid "Split V_ertically"
msgstr "Dividir _Verticalmente" msgstr "Dividir V_erticalmente"
#: terminator:414 #: terminator:414
msgid "Close?" msgid "Close?"

View File

@ -37,11 +37,11 @@ msgid "Show scrollbar"
msgstr "" msgstr ""
#: terminator:348 #: terminator:348
msgid "Split _Horizontally" msgid "Split H_orizontally"
msgstr "" msgstr ""
#: terminator:352 #: terminator:352
msgid "Split _Vertically" msgid "Split V_ertically"
msgstr "" msgstr ""
#: terminator:414 #: terminator:414

View File

@ -270,10 +270,10 @@ class TerminatorTerm:
elif keyname == "P": elif keyname == "P":
self.term.go_prev (self) self.term.go_prev (self)
return (True) return (True)
elif keyname == 'H': elif keyname == 'O':
self.term.splitaxis (self, False) self.term.splitaxis (self, False)
return (True) return (True)
elif keyname == 'V': elif keyname == 'E':
self.term.splitaxis (self, True) self.term.splitaxis (self, True)
return (True) return (True)
elif keyname == 'W': elif keyname == 'W':
@ -345,11 +345,11 @@ class TerminatorTerm:
item = gtk.MenuItem () item = gtk.MenuItem ()
menu.append (item) menu.append (item)
item = gtk.MenuItem (_("Split _Horizontally")) item = gtk.MenuItem (_("Split H_orizontally"))
item.connect ("activate", lambda menu_item: self.term.splitaxis (self, False)) item.connect ("activate", lambda menu_item: self.term.splitaxis (self, False))
menu.append (item) menu.append (item)
item = gtk.MenuItem (_("Split _Vertically")) item = gtk.MenuItem (_("Split V_ertically"))
item.connect ("activate", lambda menu_item: self.term.splitaxis (self, True)) item.connect ("activate", lambda menu_item: self.term.splitaxis (self, True))
menu.append (item) menu.append (item)