aboutsummaryrefslogtreecommitdiff
path: root/iw
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-07-20 22:26:04 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-07-20 22:26:04 +0000
commit14a6323d1a1847d7526e9c0a5de147ecf613bcbc (patch)
treea45644d38da2e4a1693bfca08a9745f91e0437af /iw
parentAdd a welcome screen (diff)
downloadanaconda-14a6323d1a1847d7526e9c0a5de147ecf613bcbc.tar.gz
anaconda-14a6323d1a1847d7526e9c0a5de147ecf613bcbc.tar.bz2
anaconda-14a6323d1a1847d7526e9c0a5de147ecf613bcbc.zip
Preparing the Disks welcome screen
Diffstat (limited to 'iw')
-rw-r--r--iw/welcome_gui.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/iw/welcome_gui.py b/iw/welcome_gui.py
index c0b519f..2bf674a 100644
--- a/iw/welcome_gui.py
+++ b/iw/welcome_gui.py
@@ -28,15 +28,15 @@ _ = lambda x: gettext.ldgettext("anaconda", x)
class WelcomeWindow (InstallWindow):
- def setWindow(self, title, text, linktext, linkurl):
+ def setWindow(self, title, text, chapter, linktext=None):
(xml, align) = gui.getGladeWidget("welcome.glade", "welcome_align")
title_ = self.xml.get_widget("title")
text_ = self.xml.get_widget("text")
title_.set_markup("<span style=\"font-size: 200%\">%s</span>")
- title_.set_attribute("label", title)
+ title_.set_attribute("label", _("Chapter %i: %s") % (chapter, title))
text_.set_attribute("text", text)
- def welcomeScreen(self, anaconda):
+ def welcome(self, anaconda):
self.setWindow(_("Welcome to the Gentoo installer!"),
_("This wizard will take you through installing Gentoo \
on your computer. We will follow the official Gentoo \
@@ -45,9 +45,16 @@ class WelcomeWindow (InstallWindow):
link in the top-right corner of the window.\n\n\
We'll start off asking you for the language and \
keyboard layout you'd like the installer and your \
- future system to use."),
- "Gentoo Handbook",
- "http://www.gentoo.org/doc/en/handbook/")
+ future system to use. We will then skip straight to \
+ Chapter 4 and continue with the installation."),
+ 0, "Gentoo Handbook")
+
+ def preparedisks(self, anaconda):
+ self.setWindow(_("Preparing the Disks"),
+ _("To be able to install Gentoo, you must create the \
+ necessary partitions. The following screens will \
+ help you choose the right disk configuration for \
+ your system."), 4)
def getNext(self):
return None