summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-04-21 21:21:00 +0000
committerMike Fulbright <msf@redhat.com>2003-04-21 21:21:00 +0000
commita1d052dc853808b98a7acf681db4a083844ad1ca (patch)
tree7f7d9b922a9bb33415439dcf186e65463c9098e8 /installclasses
parent5ffcf43c6e4c8f9b8ccca8f6da736ea754713212 (diff)
downloadanaconda-a1d052dc853808b98a7acf681db4a083844ad1ca.tar.gz
anaconda-a1d052dc853808b98a7acf681db4a083844ad1ca.tar.xz
anaconda-a1d052dc853808b98a7acf681db4a083844ad1ca.zip
make class names have mnemonic marker in them - just filter out if desired (like in TUI)
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/custom.py7
-rw-r--r--installclasses/personal_desktop.py5
-rw-r--r--installclasses/server.py5
-rw-r--r--installclasses/workstation.py5
4 files changed, 13 insertions, 9 deletions
diff --git a/installclasses/custom.py b/installclasses/custom.py
index d338c9e8c..7c79590e9 100644
--- a/installclasses/custom.py
+++ b/installclasses/custom.py
@@ -7,15 +7,16 @@ from autopart import getAutopartitionBoot, autoCreatePartitionRequests
# custom installs are easy :-)
class InstallClass(BaseInstallClass):
- name = N_("Custom")
+ # name has underscore used for mnemonics, strip if you dont need it
+ name = N_("_Custom")
pixmap = "custom.png"
- showMinimal = 1
- showLoginChoice = 1
description = N_("Select this installation type to gain complete "
"control over the installation process, including "
"software package selection and authentication "
"preferences.")
sortPriority = 10000
+ showLoginChoice = 1
+ showMinimal = 1
def setInstallData(self, id):
BaseInstallClass.setInstallData(self, id)
diff --git a/installclasses/personal_desktop.py b/installclasses/personal_desktop.py
index 71d401d91..fd67a07db 100644
--- a/installclasses/personal_desktop.py
+++ b/installclasses/personal_desktop.py
@@ -7,14 +7,15 @@ from autopart import getAutopartitionBoot, autoCreatePartitionRequests
from fsset import *
class InstallClass(BaseInstallClass):
- showLoginChoice = 0
- name = N_("Personal Desktop")
+ # name has underscore used for mnemonics, strip if you dont need it
+ name = N_("_Personal Desktop")
pixmap = "workstation.png"
description = N_("Perfect for personal computers or laptops, select this "
"installation type to install a graphical desktop "
"environment and create a system ideal for home "
"or desktop use.")
+ showLoginChoice = 0
sortPriority = 1
def setSteps(self, dispatch):
diff --git a/installclasses/server.py b/installclasses/server.py
index bb34f64ac..73952d274 100644
--- a/installclasses/server.py
+++ b/installclasses/server.py
@@ -7,8 +7,8 @@ from autopart import getAutopartitionBoot, autoCreatePartitionRequests
class InstallClass(BaseInstallClass):
- showLoginChoice = 1
- name = N_("Server")
+ # name has underscore used for mnemonics, strip if you dont need it
+ name = N_("_Server")
pixmap = "server.png"
description = N_("Select this installation type if you would like to "
"set up file sharing, print sharing, and Web services. "
@@ -17,6 +17,7 @@ class InstallClass(BaseInstallClass):
"environment.")
sortPriority = 10
+ showLoginChoice = 1
def setSteps(self, dispatch):
BaseInstallClass.setSteps(self, dispatch);
diff --git a/installclasses/workstation.py b/installclasses/workstation.py
index 682a9569c..5ca4c9787 100644
--- a/installclasses/workstation.py
+++ b/installclasses/workstation.py
@@ -3,14 +3,15 @@ from rhpl.translate import N_
import os
class InstallClass(personal_desktop.InstallClass):
- showLoginChoice = 0
- name = N_("Workstation")
+ # name has underscore used for mnemonics, strip if you dont need it
+ name = N_("_Workstation")
pixmap = "workstation.png"
description = N_("This option installs a graphical desktop "
"environment with tools for software "
"development and system administration. ")
sortPriority = 2
+ showLoginChoice = 0
def setGroupSelection(self, comps, intf):
personal_desktop.InstallClass.setGroupSelection(self, comps, intf)