[gnome-dvb-daemon] gnomedvb: Set window position of preferences window



commit caef97557620ee55d3caf3c19ef0c53371e092bd
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Fri May 13 19:57:37 2011 +0200

    gnomedvb: Set window position of preferences window

 client/gnomedvb/ui/preferences/Preferences.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/client/gnomedvb/ui/preferences/Preferences.py b/client/gnomedvb/ui/preferences/Preferences.py
index b35ef39..225d4f1 100644
--- a/client/gnomedvb/ui/preferences/Preferences.py
+++ b/client/gnomedvb/ui/preferences/Preferences.py
@@ -43,6 +43,7 @@ class Preferences(Gtk.Window):
         self.set_modal(True)
         self.set_destroy_with_parent(True)
         self.set_default_size(600, 450)
+        self.set_position(Gtk.WindowPosition.CENTER_ON_PARENT)
         
         self.vbox = Gtk.VBox()
         self.add(self.vbox)



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