summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-04-23 21:06:37 +0000
committerMike Fulbright <msf@redhat.com>2003-04-23 21:06:37 +0000
commitdd200d781bd9012f562399c2ee69c23fe60d86b9 (patch)
tree7b56af32977fee0d78c9aa6f6edd1c3dee272c7d /iw
parentd329870f732affa167f28fb261423fc6904158ec (diff)
downloadanaconda-dd200d781bd9012f562399c2ee69c23fe60d86b9.tar.gz
anaconda-dd200d781bd9012f562399c2ee69c23fe60d86b9.tar.xz
anaconda-dd200d781bd9012f562399c2ee69c23fe60d86b9.zip
use install class id instead of its name
Diffstat (limited to 'iw')
-rw-r--r--iw/desktop_choice_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/desktop_choice_gui.py b/iw/desktop_choice_gui.py
index 1951136ae..bdff77f38 100644
--- a/iw/desktop_choice_gui.py
+++ b/iw/desktop_choice_gui.py
@@ -49,7 +49,7 @@ class DesktopChoiceWindow (InstallWindow):
hbox = gtk.HBox (gtk.FALSE, 0)
# ugly hack
- if instclass.name == N_("Workstation"):
+ if instclass.id == "workstation":
self.windowTitle = N_("Workstation Defaults")
self.ics.setTitle (_(self.windowTitle))
self.htmlTag = "workstation-pkgs"
@@ -72,7 +72,7 @@ class DesktopChoiceWindow (InstallWindow):
"If you are familiar with %s, you may have specific packages "
"you would like to install or avoid installing. Check the box below to "
"customize your installation.") % (productName,)
- elif instclass.name == N_("Personal Desktop"):
+ elif instclass.id == "personal desktop":
self.windowTitle = N_("Personal Desktop Defaults")
self.ics.setTitle (_(self.windowTitle))
self.htmlTag = "pdesktop-pkgs"