[pitivi: 19/94] Make the window fullscreen when the application starts, if it was previously fullscreen
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 19/94] Make the window fullscreen when the application starts, if it was previously fullscreen
- Date: Sun, 11 Sep 2011 16:14:03 +0000 (UTC)
commit fc98e68267e4f1ff251c84a72c4325369db4ef3f
Author: Alex BÄluÈ <alexandru balut gmail com>
Date: Sun Aug 21 11:40:50 2011 +0200
Make the window fullscreen when the application starts, if it was previously fullscreen
pitivi/ui/mainwindow.py | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 016f7ef..2cf0071 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -177,7 +177,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
self.toggleactions = None
self.actiongroup = None
self.settings = instance.settings
- self.is_fullscreen = self.settings.mainWindowFullScreen
+ self.is_fullscreen = False
self.timelinepos = 0
self.prefsdialog = None
create_stock_icons()
@@ -439,11 +439,8 @@ class PitiviMainWindow(gtk.Window, Loggable):
self.set_default_size(width, height)
if height == -1 and width == -1:
self.maximize()
- self._do_pending_fullscreen = False
- # FIXME: don't know why this doesn't work
- #if self.settings.mainWindowFullScreen:
- # self._do_pending_fullscreen = True
-
+ # Whether the window will be made fullscreen after it is available.
+ self._do_pending_fullscreen = self.settings.mainWindowFullScreen
# timeline toolbar
# FIXME: remove toolbar padding and shadow. In fullscreen mode, the
# toolbar buttons should be clickable with the mouse cursor at the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]