[PATCH 2/2] Specify help file names for hubs and spokes

Martin Kolman mkolman at redhat.com
Mon Aug 25 14:17:37 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 8380c3e..5823ef4 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..8c5d5a8 100644
--- a/pyanaconda/ui/gui/spokes/datetime_spoke.py
+++ b/pyanaconda/ui/gui/spokes/datetime_spoke.py
@@ -117,6 +117,7 @@ class NTPconfigDialog(GUIObject, GUIDialogInputCheckHandler):
     builderObjects = ["ntpConfigDialog", "addImage", "serversStore"]
     mainWidgetName = "ntpConfigDialog"
     uiFile = "spokes/datetime_spoke.glade"
+    helpFile = "DateTimeSpoke.xml"
 
     def __init__(self, *args):
         GUIObject.__init__(self, *args)
diff --git a/pyanaconda/ui/gui/spokes/filter.py b/pyanaconda/ui/gui/spokes/filter.py
index 6405781..a79f007 100644
--- a/pyanaconda/ui/gui/spokes/filter.py
+++ b/pyanaconda/ui/gui/spokes/filter.py
@@ -384,6 +384,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..20c9bae 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.py
+++ b/pyanaconda/ui/gui/spokes/keyboard.py
@@ -63,6 +63,7 @@ class AddLayoutDialog(GUIObject):
                       "newLayoutStoreFilter", "newLayoutStoreSort"]
     mainWidgetName = "addLayoutDialog"
     uiFile = "spokes/keyboard.glade"
+    helpFile = "KeyboardSpoke.xml"
 
     def __init__(self, *args):
         GUIObject.__init__(self, *args)
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 0c6cce5..8928973 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -1119,6 +1119,7 @@ class SecretAgentDialog(GUIObject):
     builderObjects = ["secret_agent_dialog"]
     mainWidgetName = "secret_agent_dialog"
     uiFile = "spokes/network.glade"
+    helpFile = "NetworkSpoke.xml"
 
     def __init__(self, *args, **kwargs):
         self._content = kwargs.pop('content', {})
diff --git a/pyanaconda/ui/gui/spokes/password.py b/pyanaconda/ui/gui/spokes/password.py
index ee2da7d..bd4b224 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 2040bf2..d60d92c 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 1466696..514f0e1 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -104,6 +104,7 @@ class ProxyDialog(GUIObject, GUIDialogInputCheckHandler):
     builderObjects = ["proxyDialog"]
     mainWidgetName = "proxyDialog"
     uiFile = "spokes/source.glade"
+    helpFile = "SourceSpoke.xml"
 
     def __init__(self, data, proxy_url):
         GUIObject.__init__(self, data)
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 70409b3..fbc3c55 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -87,6 +87,7 @@ RESPONSE_QUIT = 4
 
 class InstallOptionsDialogBase(GUIObject):
     uiFile = "spokes/storage.glade"
+    helpFile = "StorageSpoke.xml"
 
     def __init__(self, *args, **kwargs):
         self.payload = kwargs.pop("payload", None)
diff --git a/pyanaconda/ui/gui/spokes/user.py b/pyanaconda/ui/gui/spokes/user.py
index 75c200b..9163173 100644
--- a/pyanaconda/ui/gui/spokes/user.py
+++ b/pyanaconda/ui/gui/spokes/user.py
@@ -46,6 +46,7 @@ class AdvancedUserDialog(GUIObject, GUIDialogInputCheckHandler):
     builderObjects = ["advancedUserDialog", "uid", "gid"]
     mainWidgetName = "advancedUserDialog"
     uiFile = "spokes/advanced_user.glade"
+    helpFile = "UserSpoke.xml"
 
     def set_status(self, inputcheck):
         # Use the superclass set_status to set the error message
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