rework the full-window-term code a little so that it is referred to as terminal zooming (perhaps an unfortunate name wrt zooming fonts), make the context menu items behave a little better and add a keyboard shortcut

This commit is contained in:
Chris Jones 2008-05-30 13:19:35 +01:00
parent bcad01126a
commit af6c18a769
1 changed files with 3 additions and 0 deletions

View File

@ -623,6 +623,9 @@ text/plain
elif keyname == 'Page_Up': elif keyname == 'Page_Up':
self.terminator.move_tab(self, 'left') self.terminator.move_tab(self, 'left')
return (True) return (True)
elif keyname == 'Z':
self.terminator.toggle_zoom (self)
return (True)
mask = gtk.gdk.CONTROL_MASK mask = gtk.gdk.CONTROL_MASK
if (event.state & mask) == mask: if (event.state & mask) == mask: