[PATCH 1/4] Add 'software' category to TUI summary hub
Chris Lumens
clumens at redhat.com
Fri May 17 17:09:29 UTC 2013
> diff --git a/pyanaconda/ui/tui/hubs/summary.py b/pyanaconda/ui/tui/hubs/summary.py
> index ebbfcfb..1ae5cca 100644
> --- a/pyanaconda/ui/tui/hubs/summary.py
> +++ b/pyanaconda/ui/tui/hubs/summary.py
> @@ -28,7 +28,8 @@ import time
>
> class SummaryHub(TUIHub):
> title = _("Installation")
> - categories = ["source", "localization", "destination", "password"]
> + ## FIXME: this should be pulling data from somewhere, not just a static list
> + categories = ["source", "localization", "destination", "password", "software"]
>
> def setup(self, environment="anaconda"):
> TUIHub.setup(self, environment=environment)
In the GUI, categories are their own object that indicate which hub they
appear on and the hub just goes and looks for all categories that match.
There's no string anything. I don't know why it is this way in the text
UI, and you don't need to do anything about it now, but I would
definitely prefer it if the two worked the same in this respect.
- Chris
More information about the anaconda-patches
mailing list