summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Rix <phrkonaleash@gmail.com>2009-12-08 16:55:23 -0700
committerRyan Rix <phrkonaleash@gmail.com>2009-12-08 16:55:23 -0700
commitdcd3befb7340927b399f98054be0aa0786669e14 (patch)
tree573911350f22c755dc4a7cd48a18f68f800d4f48
parente3344774f25b7667f6025273e3c6a5645b187ca6 (diff)
downloadfedora-tour-dcd3befb7340927b399f98054be0aa0786669e14.tar.gz
fedora-tour-dcd3befb7340927b399f98054be0aa0786669e14.tar.xz
fedora-tour-dcd3befb7340927b399f98054be0aa0786669e14.zip
Window centered. Also, I rule.
-rw-r--r--frontend/tour_gtk_frontend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/tour_gtk_frontend.py b/frontend/tour_gtk_frontend.py
index d54adca..88ca233 100644
--- a/frontend/tour_gtk_frontend.py
+++ b/frontend/tour_gtk_frontend.py
@@ -40,8 +40,8 @@ class Frontend:
def create_win(self,title="Fedora Tour",defaultsize=[100,100]):
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.set_title(title)
+ window.set_position(gtk.WIN_POS_CENTER)
window.set_default_size(defaultsize[0],defaultsize[1])
- window.move(250,100)
return window
def main(self):