Merge pull request #501 from mattrose/issue-405

add Set Window Title item to context menu
This commit is contained in:
Matt Rose 2021-08-30 20:47:26 -04:00 committed by GitHub
commit d57314ca6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()