[pitivi] Hide the menubar in fullscreen mode



commit e63d15844af7e0d30e3b42b026f22fde67f0d742
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Thu Oct 11 01:04:26 2012 -0400

    Hide the menubar in fullscreen mode

 pitivi/mainwindow.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index 74a4aca..26b0108 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -510,6 +510,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
         """ Toggle the fullscreen mode of the application """
         if fullscreen:
             self.fullscreen()
+            self.menu.hide()
             self._main_toolbar_box.remove(self.toolbar)
             self._fullscreen_toolbar_win.add(self.toolbar)
             self._fullscreen_toolbar_win.show()
@@ -517,6 +518,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
             GObject.timeout_add(750, self._slideFullscreenToolbarOut)
         else:
             self.unfullscreen()
+            self.menu.show()
             self._fullscreen_toolbar_win.remove(self.toolbar)
             self._main_toolbar_box.add(self.toolbar)
             self._fullscreen_toolbar_win.hide()



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