aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-03 08:39:53 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-03 08:39:53 +0000
commitea614c12d4c89807df698455900608b0b546dfca (patch)
tree95dbf2daf6283b81febaef8af7f330fcf9d65d00
parentTweak the timezone window (diff)
downloadanaconda-ea614c12d4c89807df698455900608b0b546dfca.tar.gz
anaconda-ea614c12d4c89807df698455900608b0b546dfca.tar.bz2
anaconda-ea614c12d4c89807df698455900608b0b546dfca.zip
iw/timezone_gui.py: fix the way the UI is loaded
-rw-r--r--iw/timezone_gui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/iw/timezone_gui.py b/iw/timezone_gui.py
index cf91ce6..0b02096 100644
--- a/iw/timezone_gui.py
+++ b/iw/timezone_gui.py
@@ -55,8 +55,7 @@ class TimezoneWindow(InstallWindow):
self.zonetab = zonetab.ZoneTab()
# Pull in a bunch of widgets.
- self.xml = gtk.glade.XML("timezone.glade", domain="system-config-date")
- self.vbox = self.xml.get_widget("tz_vbox")
+ (self.xml, self.vbox) = gui.getGladeWidget("timezone.glade", "tz_vbox")
self.utcCheckbox = self.xml.get_widget("utc_check")
ics.setTitle(_("Time Zone Selection"))