summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-08-22 14:34:26 +0000
committerJeremy Katz <katzj@redhat.com>2007-08-22 14:34:26 +0000
commit24beda094d7adbe9567b6d94c255d66e1b922744 (patch)
tree9f146c7b6d649d9bbd5f4d3c57bfea99a0f8f1f6 /iw
parent31ad36891b3b3d441f04ca1e5c48ecee9853adcd (diff)
downloadanaconda-24beda094d7adbe9567b6d94c255d66e1b922744.tar.gz
anaconda-24beda094d7adbe9567b6d94c255d66e1b922744.tar.xz
anaconda-24beda094d7adbe9567b6d94c255d66e1b922744.zip
2007-08-22 Jeremy Katz <katzj@redhat.com>
* iw/timezone_gui.py (TimezoneWindow.timezone_widget_create): Always do the smaller width since our window is never bigger than 800x600 (#251851)
Diffstat (limited to 'iw')
-rw-r--r--iw/timezone_gui.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/iw/timezone_gui.py b/iw/timezone_gui.py
index 33d20dfff..fd6ba0ba2 100644
--- a/iw/timezone_gui.py
+++ b/iw/timezone_gui.py
@@ -68,13 +68,8 @@ class TimezoneWindow(InstallWindow):
def timezone_widget_create (self, str1, str2, int1, int2):
mappath = "/usr/share/system-config-date/pixmaps/map1440.png"
- if gtk.gdk.screen_width() < 1024:
- viewportWidth = 480
- else:
- viewportWidth = 600
-
self.tz = AnacondaTZMap(self.zonetab, self.default, map=mappath,
- viewportWidth=viewportWidth)
+ viewportWidth=480)
self.tz.show_all()
return self.tz
@@ -85,6 +80,7 @@ class TimezoneWindow(InstallWindow):
# TimezoneWindow tag="timezone"
def getScreen(self, anaconda):
+ self.intf = anaconda.intf
self.timezone = anaconda.id.timezone
(self.default, asUTC, asArc) = self.timezone.getTimezoneInfo()