[PATCH 2/2] Specify help file names for hubs and spokes
Martin Kolman
mkolman at redhat.com
Tue Sep 16 15:09:51 UTC 2014
Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
pyanaconda/ui/gui/hubs/progress.py | 1 +
pyanaconda/ui/gui/hubs/summary.py | 1 +
pyanaconda/ui/gui/spokes/custom.py | 1 +
pyanaconda/ui/gui/spokes/datetime_spoke.py | 1 +
pyanaconda/ui/gui/spokes/filter.py | 1 +
pyanaconda/ui/gui/spokes/keyboard.py | 1 +
pyanaconda/ui/gui/spokes/langsupport.py | 1 +
pyanaconda/ui/gui/spokes/network.py | 1 +
pyanaconda/ui/gui/spokes/password.py | 1 +
pyanaconda/ui/gui/spokes/software.py | 1 +
pyanaconda/ui/gui/spokes/source.py | 1 +
pyanaconda/ui/gui/spokes/storage.py | 1 +
pyanaconda/ui/gui/spokes/user.py | 1 +
pyanaconda/ui/gui/spokes/welcome.py | 1 +
14 files changed, 14 insertions(+)
diff --git a/pyanaconda/ui/gui/hubs/progress.py b/pyanaconda/ui/gui/hubs/progress.py
index 016d587..3f91513 100644
--- a/pyanaconda/ui/gui/hubs/progress.py
+++ b/pyanaconda/ui/gui/hubs/progress.py
@@ -45,6 +45,7 @@ class ProgressHub(Hub):
builderObjects = ["progressWindow"]
mainWidgetName = "progressWindow"
uiFile = "hubs/progress.glade"
+ helpFile = "ProgressHub.xml"
def __init__(self, data, storage, payload, instclass):
Hub.__init__(self, data, storage, payload, instclass)
diff --git a/pyanaconda/ui/gui/hubs/summary.py b/pyanaconda/ui/gui/hubs/summary.py
index 28f93be..a967092 100644
--- a/pyanaconda/ui/gui/hubs/summary.py
+++ b/pyanaconda/ui/gui/hubs/summary.py
@@ -29,6 +29,7 @@ class SummaryHub(Hub):
builderObjects = ["summaryWindow"]
mainWidgetName = "summaryWindow"
uiFile = "hubs/summary.glade"
+ helpFile = "SummaryHub.xml"
def __init__(self, data, storage, payload, instclass):
"""Create a new Hub instance.
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 44b7943..db8b904 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -129,6 +129,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
"mountPointCompletion", "mountPointStore"]
mainWidgetName = "customStorageWindow"
uiFile = "spokes/custom.glade"
+ helpFile = "CustomSpoke.xml"
category = SystemCategory
title = N_("MANUAL PARTITIONING")
diff --git a/pyanaconda/ui/gui/spokes/datetime_spoke.py b/pyanaconda/ui/gui/spokes/datetime_spoke.py
index 890a871..b78ed7e 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
@@ -363,6 +363,7 @@ class DatetimeSpoke(FirstbootSpokeMixIn, NormalSpoke):
mainWidgetName = "datetimeWindow"
uiFile = "spokes/datetime_spoke.glade"
+ helpFile = "DateTimeSpoke.xml"
category = LocalizationCategory
diff --git a/pyanaconda/ui/gui/spokes/filter.py b/pyanaconda/ui/gui/spokes/filter.py
index f85c84d..0b47cca 100644
--- a/pyanaconda/ui/gui/spokes/filter.py
+++ b/pyanaconda/ui/gui/spokes/filter.py
@@ -385,6 +385,7 @@ class FilterSpoke(NormalSpoke):
"searchModel", "multipathModel", "otherModel", "zModel"]
mainWidgetName = "filterWindow"
uiFile = "spokes/filter.glade"
+ helpFile = "FilterSpoke.xml"
category = SystemCategory
diff --git a/pyanaconda/ui/gui/spokes/keyboard.py b/pyanaconda/ui/gui/spokes/keyboard.py
index d9074fd..bd18480 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.py
+++ b/pyanaconda/ui/gui/spokes/keyboard.py
@@ -264,6 +264,7 @@ class KeyboardSpoke(NormalSpoke):
"layoutTestBuffer"]
mainWidgetName = "keyboardWindow"
uiFile = "spokes/keyboard.glade"
+ helpFile = "KeyboardSpoke.xml"
category = LocalizationCategory
diff --git a/pyanaconda/ui/gui/spokes/langsupport.py b/pyanaconda/ui/gui/spokes/langsupport.py
index a18c25f..1ae5334 100644
--- a/pyanaconda/ui/gui/spokes/langsupport.py
+++ b/pyanaconda/ui/gui/spokes/langsupport.py
@@ -46,6 +46,7 @@ class LangsupportSpoke(LangLocaleHandler, NormalSpoke):
mainWidgetName = "langsupportWindow"
focusWidgetName = "languageEntry"
uiFile = "spokes/langsupport.glade"
+ helpFile = "LangSupportSpoke.xml"
category = LocalizationCategory
diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index b24ddab..a21c623 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -1296,6 +1296,7 @@ class NetworkSpoke(FirstbootSpokeMixIn, NormalSpoke):
builderObjects = ["networkWindow", "liststore_wireless_network", "liststore_devices", "add_device_dialog", "liststore_add_device"]
mainWidgetName = "networkWindow"
uiFile = "spokes/network.glade"
+ helpFile = "NetworkSpoke.xml"
title = CN_("GUI|Spoke", "_NETWORK & HOST NAME")
icon = "network-transmit-receive-symbolic"
diff --git a/pyanaconda/ui/gui/spokes/password.py b/pyanaconda/ui/gui/spokes/password.py
index 77fd2b1..ac65d1b 100644
--- a/pyanaconda/ui/gui/spokes/password.py
+++ b/pyanaconda/ui/gui/spokes/password.py
@@ -43,6 +43,7 @@ class PasswordSpoke(FirstbootSpokeMixIn, NormalSpoke, GUISpokeInputCheckHandler)
mainWidgetName = "passwordWindow"
focusWidgetName = "pw"
uiFile = "spokes/password.glade"
+ helpFile = "PasswordSpoke.xml"
category = UserSettingsCategory
diff --git a/pyanaconda/ui/gui/spokes/software.py b/pyanaconda/ui/gui/spokes/software.py
index afd615b..c60494c 100644
--- a/pyanaconda/ui/gui/spokes/software.py
+++ b/pyanaconda/ui/gui/spokes/software.py
@@ -44,6 +44,7 @@ class SoftwareSelectionSpoke(NormalSpoke):
builderObjects = ["addonStore", "environmentStore", "softwareWindow"]
mainWidgetName = "softwareWindow"
uiFile = "spokes/software.glade"
+ helpFile = "SoftwareSpoke.xml"
category = SoftwareCategory
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 348aed5..84fc772 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -346,6 +346,7 @@ class SourceSpoke(NormalSpoke, GUISpokeInputCheckHandler):
builderObjects = ["isoChooser", "isoFilter", "partitionStore", "sourceWindow", "dirImage", "repoStore"]
mainWidgetName = "sourceWindow"
uiFile = "spokes/source.glade"
+ helpFile = "SourceSpoke.xml"
category = SoftwareCategory
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 902c4ae..85d7b63 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -233,6 +233,7 @@ class StorageSpoke(NormalSpoke, StorageChecker):
builderObjects = ["storageWindow", "addSpecializedImage"]
mainWidgetName = "storageWindow"
uiFile = "spokes/storage.glade"
+ helpFile = "StorageSpoke.xml"
category = SystemCategory
diff --git a/pyanaconda/ui/gui/spokes/user.py b/pyanaconda/ui/gui/spokes/user.py
index 75c200b..3031804 100644
--- a/pyanaconda/ui/gui/spokes/user.py
+++ b/pyanaconda/ui/gui/spokes/user.py
@@ -204,6 +204,7 @@ class UserSpoke(FirstbootSpokeMixIn, NormalSpoke, GUISpokeInputCheckHandler):
mainWidgetName = "userCreationWindow"
focusWidgetName = "t_fullname"
uiFile = "spokes/user.glade"
+ helpFile = "UserSpoke.xml"
category = UserSettingsCategory
diff --git a/pyanaconda/ui/gui/spokes/welcome.py b/pyanaconda/ui/gui/spokes/welcome.py
index 76c06a8..afec403 100644
--- a/pyanaconda/ui/gui/spokes/welcome.py
+++ b/pyanaconda/ui/gui/spokes/welcome.py
@@ -48,6 +48,7 @@ class WelcomeLanguageSpoke(LangLocaleHandler, StandaloneSpoke):
mainWidgetName = "welcomeWindow"
focusWidgetName = "languageEntry"
uiFile = "spokes/welcome.glade"
+ helpFile = "WelcomeSpoke.xml"
builderObjects = ["languageStore", "languageStoreFilter", "localeStore",
"welcomeWindow", "betaWarnDialog", "unsupportedHardwareDialog"]
--
1.9.3
More information about the anaconda-patches
mailing list