summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-04-23 21:06:13 +0000
committerMike Fulbright <msf@redhat.com>2003-04-23 21:06:13 +0000
commitd329870f732affa167f28fb261423fc6904158ec (patch)
treeb4717f8dd123e1abcdd99d76bb3249388fc28097 /installclasses
parent1d947ba683b7624e47d1fa6164fe5d6d46a3b592 (diff)
downloadanaconda-d329870f732affa167f28fb261423fc6904158ec.tar.gz
anaconda-d329870f732affa167f28fb261423fc6904158ec.tar.xz
anaconda-d329870f732affa167f28fb261423fc6904158ec.zip
add unique id for each installclass for workflow screens (ie, desktop choice TUI/GUI) that need to know which installclass user selected.
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/custom.py1
-rw-r--r--installclasses/personal_desktop.py1
-rw-r--r--installclasses/server.py1
-rw-r--r--installclasses/workstation.py1
4 files changed, 4 insertions, 0 deletions
diff --git a/installclasses/custom.py b/installclasses/custom.py
index 7c79590e9..54b7e137c 100644
--- a/installclasses/custom.py
+++ b/installclasses/custom.py
@@ -8,6 +8,7 @@ from autopart import getAutopartitionBoot, autoCreatePartitionRequests
# custom installs are easy :-)
class InstallClass(BaseInstallClass):
# name has underscore used for mnemonics, strip if you dont need it
+ id = "custom"
name = N_("_Custom")
pixmap = "custom.png"
description = N_("Select this installation type to gain complete "
diff --git a/installclasses/personal_desktop.py b/installclasses/personal_desktop.py
index fd67a07db..b09cea076 100644
--- a/installclasses/personal_desktop.py
+++ b/installclasses/personal_desktop.py
@@ -8,6 +8,7 @@ from fsset import *
class InstallClass(BaseInstallClass):
# name has underscore used for mnemonics, strip if you dont need it
+ id = "personal desktop"
name = N_("_Personal Desktop")
pixmap = "workstation.png"
description = N_("Perfect for personal computers or laptops, select this "
diff --git a/installclasses/server.py b/installclasses/server.py
index 73952d274..337a4cd91 100644
--- a/installclasses/server.py
+++ b/installclasses/server.py
@@ -8,6 +8,7 @@ from autopart import getAutopartitionBoot, autoCreatePartitionRequests
class InstallClass(BaseInstallClass):
# name has underscore used for mnemonics, strip if you dont need it
+ id = "server"
name = N_("_Server")
pixmap = "server.png"
description = N_("Select this installation type if you would like to "
diff --git a/installclasses/workstation.py b/installclasses/workstation.py
index 5ca4c9787..0733f03f0 100644
--- a/installclasses/workstation.py
+++ b/installclasses/workstation.py
@@ -4,6 +4,7 @@ import os
class InstallClass(personal_desktop.InstallClass):
# name has underscore used for mnemonics, strip if you dont need it
+ id = "workstation"
name = N_("_Workstation")
pixmap = "workstation.png"
description = N_("This option installs a graphical desktop "