[pitivi] startupwizard: Ensure the welcome dialog is initially centered on its parent



commit d7ce0317d89faef50fb9e85c504d74b74795f13a
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Thu Jan 31 23:01:48 2013 -0500

    startupwizard: Ensure the welcome dialog is initially centered on its parent

 pitivi/dialogs/startupwizard.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/dialogs/startupwizard.py b/pitivi/dialogs/startupwizard.py
index a0c2bd4..4403e9a 100644
--- a/pitivi/dialogs/startupwizard.py
+++ b/pitivi/dialogs/startupwizard.py
@@ -119,6 +119,7 @@ class StartUpWizard(object):
 
     def show(self):
         self.window.set_transient_for(self.app.gui)
+        self.window.set_position(Gtk.WindowPosition.CENTER_ON_PARENT)
         self.window.show()
 
     def hide(self):



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