[pitivi] Maximize the main window by default. Fixes #589784.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] Maximize the main window by default. Fixes #589784.
- Date: Mon, 10 Aug 2009 17:53:30 +0000 (UTC)
commit 1d92318d544b35817d18b07eea553ea5203b3a09
Author: Alessandro Decina <alessandro d gmail com>
Date: Mon Aug 10 15:37:37 2009 +0200
Maximize the main window by default. Fixes #589784.
pitivi/ui/mainwindow.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 26aae35..08c4cb0 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -406,6 +406,8 @@ class PitiviMainWindow(gtk.Window, Loggable):
if self.settings.mainWindowHeight:
height = self.settings.mainWindowHeight
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]