add Set Window Title item to context menu

This commit is contained in:
Matt Rose 2021-08-30 20:41:27 -04:00
parent 0548341806
commit a7d9304f2f
1 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,10 @@ class TerminalPopupMenu(object):
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():
item = Gtk.ImageMenuItem.new_with_mnemonic(_('Split H_orizontally'))
image = Gtk.Image()