summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-02-08 04:21:12 +0000
committerMike Fulbright <msf@redhat.com>2002-02-08 04:21:12 +0000
commita5649c996f254ae1e3b2db0586cda8255bc65d77 (patch)
tree5bb5f7974c6cc050a3bd7751623d8d93270ec3ae /iw
parentff5728fd1358ded66221f13959c5286d879261b6 (diff)
downloadanaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.tar.gz
anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.tar.xz
anaconda-a5649c996f254ae1e3b2db0586cda8255bc65d77.zip
oh yeah goodbye reconfig
Diffstat (limited to 'iw')
-rw-r--r--iw/account_gui.py6
-rw-r--r--iw/language_support_gui.py12
-rw-r--r--iw/welcome_gui.py65
3 files changed, 2 insertions, 81 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 41f3aac3a..36402a9e0 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -463,12 +463,6 @@ class AccountWindow (InstallWindow):
# XXX hack
self.users = self.users + 1
- if flags.reconfig:
- label.set_sensitive(gtk.FALSE)
- self.add.set_sensitive(gtk.FALSE)
- self.edit.set_sensitive(gtk.FALSE)
- self.delete.set_sensitive(gtk.FALSE)
-
box.set_border_width (5)
return box
diff --git a/iw/language_support_gui.py b/iw/language_support_gui.py
index e8cd4efc7..da9cca665 100644
--- a/iw/language_support_gui.py
+++ b/iw/language_support_gui.py
@@ -132,11 +132,8 @@ class LanguageSupportWindow (InstallWindow):
sep = gtk.HSeparator ()
vbox.pack_start (sep, gtk.FALSE, 15)
- if flags.reconfig:
- label = gtk.Label (_("Currently installed languages:"))
- else:
- label = gtk.Label (_("Choose additional languages you would "
- "like to use on this system:"))
+ label = gtk.Label (_("Choose additional languages you would "
+ "like to use on this system:"))
label.set_alignment (0.0, 0.5)
label.set_line_wrap (gtk.TRUE)
@@ -206,9 +203,4 @@ class LanguageSupportWindow (InstallWindow):
button = gtk.Button (_("Select as default"))
alignment.add (button)
- # in reconfig mode make some widgets unchangable
- if flags.reconfig:
- self.language.set_sensitive(gtk.FALSE)
- all_button.set_sensitive(gtk.FALSE)
-
return vbox
diff --git a/iw/welcome_gui.py b/iw/welcome_gui.py
index aa8cb4a98..45cea6583 100644
--- a/iw/welcome_gui.py
+++ b/iw/welcome_gui.py
@@ -40,68 +40,3 @@ class WelcomeWindow (InstallWindow):
return frame
-class ReconfigWelcomeWindow (InstallWindow):
-
- windowTitle = N_("Welcome")
- htmlTag = "welreconfig"
-
- def __init__ (self, ics):
- InstallWindow.__init__ (self, ics)
- ics.setNextEnabled (1)
- self.beingDisplayed = 0
-
- def getNext (self):
- if not self.beingDisplayed: return
-
- if self.cancelChoice.get_active():
- import sys
-
- print (_("Exiting anaconda now"))
- sys.exit(0)
- else:
- self.beingDisplay = 0
- return None
-
- # ReconfigWelcomeWindow tag="welreconfig"
- def getScreen (self):
-
-
- frame = gtk.Frame ()
- frame.set_shadow_type (gtk.SHADOW_IN)
-
- box = gtk.VBox (gtk.FALSE)
- box.set_border_width (5)
- frame.add (box)
-
- pix = self.ics.readPixmap ("first-375.png")
-
- if pix:
- ebox = gtk.EventBox ()
- ebox.modify_bg(gtk.STATE_NORMAL, ebox.get_style ().white)
- ebox.add (pix)
- box.pack_start (ebox, gtk.FALSE)
-
- label = gtk.Label(_("Would you like to configure your system?"))
- label.set_line_wrap(gtk.TRUE)
- label.set_alignment(0.0, 0.0)
- label.set_size_request(400, -1)
-
- box.pack_start(label)
-
- radioBox = gtk.VBox (gtk.FALSE)
- self.continueChoice = gtk.RadioButton (None, _("Yes"))
- radioBox.pack_start(self.continueChoice, gtk.FALSE)
- self.cancelChoice = gtk.RadioButton(
- self.continueChoice, _("No"))
- radioBox.pack_start(self.cancelChoice, gtk.FALSE)
-
- align = gtk.Alignment()
- align.add(radioBox)
- align.set(0.5, 0.5, 0.0, 0.0)
-
- box.pack_start(align, gtk.TRUE, gtk.TRUE)
- box.set_border_width (5)
- self.beingDisplayed = 1
-
- return frame
-