[pitivi] Remove geometry hints and let the natural size be the minimum size.



commit ba97fa47721f09463cd3c2112c949a621e25c158
Author: Alessandro Decina <alessandro d gmail com>
Date:   Fri Aug 21 15:44:57 2009 +0200

    Remove geometry hints and let the natural size be the minimum size.

 pitivi/ui/mainwindow.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index f3d5fd7..b95bdb0 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -357,7 +357,6 @@ class PitiviMainWindow(gtk.Window, Loggable):
     def _createUi(self, instance):
         """ Create the graphical interface """
         self.set_title("%s v%s" % (APPNAME, pitivi_version))
-        self.set_geometry_hints(min_width=800, min_height=480)
         self.connect("delete-event", self._deleteCb)
         self.connect("configure-event", self._configureCb)
 
@@ -424,7 +423,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
         # toolbar buttons should be clickable with the mouse cursor at the
         # very bottom of the screen.
         ttb = self.uimanager.get_widget("/TimelineToolBar")
-        vbox.pack_start(ttb, False)
+        vbox.pack_start(ttb, expand=False)
 
         self.show_all()
 



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