aboutsummaryrefslogtreecommitdiff
path: root/gui.py
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-07-22 20:33:42 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-07-22 20:33:42 +0000
commit4cbfa1065856f0ec2977d7aae5ad1c00410c4a52 (patch)
treee8b06314da2573d325826fdf3a899ed6aae6bf34 /gui.py
parentgui.py: need loadGlade much earlier (diff)
downloadanaconda-4cbfa1065856f0ec2977d7aae5ad1c00410c4a52.tar.gz
anaconda-4cbfa1065856f0ec2977d7aae5ad1c00410c4a52.tar.bz2
anaconda-4cbfa1065856f0ec2977d7aae5ad1c00410c4a52.zip
gui.py: return loadGlade where it was
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index 19acd4c..c59d16e 100755
--- a/gui.py
+++ b/gui.py
@@ -1408,7 +1408,6 @@ class InstallControlWindow:
self.currentWindow = None
self.anaconda = anaconda
self.handle = None
- self.loadGlade()
def keyRelease (self, window, event):
if ((event.keyval == gtk.keysyms.KP_Delete
@@ -1485,6 +1484,7 @@ class InstallControlWindow:
if window_reload:
self.window.destroy()
+ self.loadGlade()
self.window = self.mainxml.get_widget("mainWindow")
self.createWidgets()
@@ -1505,7 +1505,7 @@ class InstallControlWindow:
self.setup_window(False)
gtk.main()
- def set_chapter(self, number, title, url):
+ def set_chapter(number, title, url):
self.mainxml.get_widget("chapter_header").set_label(_("Chapter %i:") % number)
self.mainxml.get_widget("chapter_link").set_label(title)
self.mainxml.get_widget("chapter_link").set_uri(url)