merging trunk last fix

This commit is contained in:
Emmanuel Bretelle 2008-05-15 07:49:39 +01:00
commit f16a185248
1 changed files with 2 additions and 2 deletions

View File

@ -617,7 +617,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.
@ -677,7 +677,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: