fix fullscreen

This commit is contained in:
Chris Jones 2008-05-15 00:44:05 +01:00
parent 4b7b1f37e4
commit f888b0533d
1 changed files with 2 additions and 2 deletions

View File

@ -586,7 +586,7 @@ class Terminator:
""" Maximize the Terminator window.""" """ Maximize the Terminator window."""
self.window.maximize () self.window.maximize ()
def toggle_fullscreen (self): def fullscreen_toggle (self):
""" Toggle the fullscreen state of the window. If it is in """ Toggle the fullscreen state of the window. If it is in
fullscreen state, it will be unfullscreened. If it is not, it fullscreen state, it will be unfullscreened. If it is not, it
will be set to fullscreen state. will be set to fullscreen state.
@ -646,7 +646,7 @@ class Terminator:
mask = gtk.gdk.CONTROL_MASK | gtk.gdk.SHIFT_MASK mask = gtk.gdk.CONTROL_MASK | gtk.gdk.SHIFT_MASK
if (keyname == 'F11'): if (keyname == 'F11'):
self.toggle_fullscreen () self.fullscreen_toggle ()
return (True) return (True)
if (event.state & mask) == mask: if (event.state & mask) == mask: