add Set Window Title item to context menu
This commit is contained in:
parent
0548341806
commit
a7d9304f2f
|
@ -110,6 +110,10 @@ class TerminalPopupMenu(object):
|
||||||
|
|
||||||
menu.append(Gtk.SeparatorMenuItem())
|
menu.append(Gtk.SeparatorMenuItem())
|
||||||
|
|
||||||
|
item = Gtk.ImageMenuItem.new_with_mnemonic(_('Set W_indow Title'))
|
||||||
|
item.connect('activate', lambda x: terminal.key_edit_window_title())
|
||||||
|
menu.append(item)
|
||||||
|
|
||||||
if not terminal.is_zoomed():
|
if not terminal.is_zoomed():
|
||||||
item = Gtk.ImageMenuItem.new_with_mnemonic(_('Split H_orizontally'))
|
item = Gtk.ImageMenuItem.new_with_mnemonic(_('Split H_orizontally'))
|
||||||
image = Gtk.Image()
|
image = Gtk.Image()
|
||||||
|
|
Loading…
Reference in New Issue