Add a menu item to restore zoomed/maximised layouts
This commit is contained in:
parent
4ee756b5ec
commit
e93a95162d
|
@ -108,6 +108,12 @@ class TerminalPopupMenu(object):
|
||||||
item.connect('activate', terminal.maximise)
|
item.connect('activate', terminal.maximise)
|
||||||
menu.append(item)
|
menu.append(item)
|
||||||
|
|
||||||
|
menu.append(gtk.MenuItem())
|
||||||
|
else:
|
||||||
|
item = gtk.MenuItem(_('_Restore all terminals'))
|
||||||
|
item.connect('activate', terminal.unzoom)
|
||||||
|
menu.append(item)
|
||||||
|
|
||||||
menu.append(gtk.MenuItem())
|
menu.append(gtk.MenuItem())
|
||||||
|
|
||||||
item = gtk.CheckMenuItem(_('Show _scrollbar'))
|
item = gtk.CheckMenuItem(_('Show _scrollbar'))
|
||||||
|
|
Loading…
Reference in New Issue