[pitivi: 20/94] Operate on self instead of on self.viewer.window in PitiviMainWindow.toggleFullScreen



commit 57164f7def502f1b42c342863975581be7137bcc
Author: Alex BÄluÈ <alexandru balut gmail com>
Date:   Tue Aug 30 02:09:05 2011 +0200

    Operate on self instead of on self.viewer.window in PitiviMainWindow.toggleFullScreen

 pitivi/ui/mainwindow.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 2cf0071..09af9b1 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -468,10 +468,10 @@ class PitiviMainWindow(gtk.Window, Loggable):
     def toggleFullScreen(self):
         """ Toggle the fullscreen mode of the application """
         if not self.is_fullscreen:
-            self.viewer.window.fullscreen()
+            self.fullscreen()
             self.is_fullscreen = True
         else:
-            self.viewer.window.unfullscreen()
+            self.unfullscreen()
             self.is_fullscreen = False
 
     #TODO check if it is the way to go



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]