summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xgui.py1
-rw-r--r--ui/anaconda.glade4
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 42eddaff7..1c838605e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-06 Jeremy Katz <katzj@redhat.com>
+
+ * ui/anaconda.glade: Back to the smaller required height width so
+ that things work better with livecd installs at 800x600
+ * gui.py (InstallControlWindow.createWidgets): Ensure the window
+ is centered in the case where the window is at 800x600
+
2007-03-06 David Cantrell <dcantrell@redhat.com>
* loader2/urls.c (convertURLToUI): Whitespace cleanup before code changes.
diff --git a/gui.py b/gui.py
index c469b50b0..0fce0518a 100755
--- a/gui.py
+++ b/gui.py
@@ -1190,6 +1190,7 @@ class InstallControlWindow:
i.hide()
else:
self.window.set_size_request(800, 600)
+ self.window.set_position(gtk.WIN_POS_CENTER_ALWAYS)
if flags.debug:
self.mainxml.get_widget("debugButton").show_now()
diff --git a/ui/anaconda.glade b/ui/anaconda.glade
index c8d82f6b2..d8e3aa0b8 100644
--- a/ui/anaconda.glade
+++ b/ui/anaconda.glade
@@ -4,8 +4,8 @@
<glade-interface>
<widget class="GtkWindow" id="mainWindow">
- <property name="width_request">800</property>
- <property name="height_request">600</property>
+ <property name="width_request">610</property>
+ <property name="height_request">450</property>
<property name="visible">True</property>
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>