aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-07-21 14:35:56 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-07-21 14:35:56 +0000
commit33ca7143dedea62deb21c27c7569e3900a735f7e (patch)
tree875f792518cec49e370537028b097985d43c38cb
parentiw/welcome_gui.py: fix setting attributes (diff)
downloadanaconda-33ca7143dedea62deb21c27c7569e3900a735f7e.tar.gz
anaconda-33ca7143dedea62deb21c27c7569e3900a735f7e.tar.bz2
anaconda-33ca7143dedea62deb21c27c7569e3900a735f7e.zip
iw/welcome_gui.py: make getScreen return an align
-rw-r--r--iw/welcome_gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/iw/welcome_gui.py b/iw/welcome_gui.py
index bdeaf51..23336f6 100644
--- a/iw/welcome_gui.py
+++ b/iw/welcome_gui.py
@@ -101,7 +101,7 @@ class WelcomeWindow (InstallWindow):
def getScreen(self, anaconda):
(step, _anaconda) = anaconda.dispatch.currentStep()
(title, text, chapter, linktext) = self.windows[step]
- self.setWindow(title, text, chapter, linktext)
+ return self.setWindow(title, text, chapter, linktext)
def setWindow(self, title, text, chapter, linktext):
(xml, align) = gui.getGladeWidget("welcome.glade", "welcome_align")
@@ -110,6 +110,7 @@ class WelcomeWindow (InstallWindow):
title_.set_markup("<span style=\"font-size: 200%\">%s</span>")
title_.set_text(_("Chapter %i: %s") % (chapter, title))
text_.set_text(text)
+ return align
def getNext(self):