Key binding option for creating group in current tab
This commit is contained in:
parent
195833ab5b
commit
2b6fbe5048
|
@ -174,6 +174,7 @@ DEFAULTS = {
|
|||
'reset' : '<Shift><Control>r',
|
||||
'reset_clear' : '<Shift><Control>g',
|
||||
'hide_window' : '<Shift><Control><Alt>a',
|
||||
'create_group' : '',
|
||||
'group_all' : '<Super>g',
|
||||
'group_all_toggle' : '',
|
||||
'ungroup_all' : '<Shift><Super>g',
|
||||
|
|
|
@ -154,6 +154,7 @@ class PrefsEditor:
|
|||
'reset' : _('Reset the terminal'),
|
||||
'reset_clear' : _('Reset and clear the terminal'),
|
||||
'hide_window' : _('Toggle window visibility'),
|
||||
'create_group' : _('Create new group'),
|
||||
'group_all' : _('Group all terminals'),
|
||||
'group_all_toggle' : _('Group/Ungroup all terminals'),
|
||||
'ungroup_all' : _('Ungroup all terminals'),
|
||||
|
|
|
@ -1870,6 +1870,9 @@ class Terminal(Gtk.VBox):
|
|||
def key_reset_clear(self):
|
||||
self.vte.reset (True, True)
|
||||
|
||||
def key_create_group(self):
|
||||
self.titlebar.create_group()
|
||||
|
||||
def key_group_all(self):
|
||||
self.emit('group-all')
|
||||
|
||||
|
|
Loading…
Reference in New Issue