Add a menu item to restore zoomed/maximised layouts

This commit is contained in:
Chris Jones 2009-11-14 18:56:34 +00:00
parent 4ee756b5ec
commit e93a95162d
1 changed files with 6 additions and 0 deletions

View File

@ -108,6 +108,12 @@ class TerminalPopupMenu(object):
item.connect('activate', terminal.maximise)
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())
item = gtk.CheckMenuItem(_('Show _scrollbar'))