Restore ctrl-tab/ctrl-shit-tab

This commit is contained in:
Chris Jones 2010-01-18 20:39:46 +00:00
parent 7d08d790e2
commit 3f214bf686
2 changed files with 10 additions and 2 deletions

View File

@ -90,8 +90,10 @@ DEFAULTS = {
'zoom_out' : '<Control>minus', 'zoom_out' : '<Control>minus',
'zoom_normal' : '<Control>0', 'zoom_normal' : '<Control>0',
'new_tab' : '<Shift><Control>t', 'new_tab' : '<Shift><Control>t',
'go_next' : '<Shift><Control>n', # FIXME: Define ctrl-tab 'cycle_next' : '<Control>Tab',
'go_prev' : '<Shift><Control>p', #FIXME: ctrl-shift-tab 'cycle_prev' : '<Shift><Control>Tab',
'go_next' : '<Shift><Control>n',
'go_prev' : '<Shift><Control>p',
'go_up' : '<Alt>Up', 'go_up' : '<Alt>Up',
'go_down' : '<Alt>Down', 'go_down' : '<Alt>Down',
'go_left' : '<Alt>Left', 'go_left' : '<Alt>Left',

View File

@ -1095,6 +1095,12 @@ for %s (%s)' % (name, urlplugin.__class__.__name__))
def key_new_root_tab(self): def key_new_root_tab(self):
self.terminator.newtab (self, True) self.terminator.newtab (self, True)
def key_cycle_next(self):
self.key_go_next()
def key_cycle_prev(self):
self.key_go_prev()
def key_go_next(self): def key_go_next(self):
self.emit('navigate', 'next') self.emit('navigate', 'next')