[pitivi] Provide a better default size for the "missing files" dialog



commit 9af98e9394adec4d41f3e673b52ebed47c832308
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Sun May 22 13:08:54 2011 -0400

    Provide a better default size for the "missing files" dialog

 pitivi/ui/mainwindow.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 9e8a77c..c699bb0 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -964,7 +964,9 @@ class PitiviMainWindow(gtk.Window, Loggable):
         dialog.get_content_area().pack_start(chooser, True, True)
         chooser.show()
 
-        dialog.set_size_request(640, 480)
+        # If the window is too big, the window manager will resize it so that
+        # it fits on the screen.
+        dialog.set_default_size(1024, 1000)
         response = dialog.run()
 
         if response == gtk.RESPONSE_OK:



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