The main change from v1 is that the title is now retranslated if the user switches
the language in the welcome spoke.
Also when working on this I discovered some pretty weird initialization inconsistencies
with the Window objects during the first (always triggered) reatranslate() run.
Apparently main_window might return different objects in this phase than later,
so I worked around this by checking if the object has the method that needs to be called,
effectively skipping the title retranslation during the first run.
And everything seems to work fine on subsequent runs.
Less ugly solutions are of course welcome. :)
Martin Kolman (1):
Add window title (#1280077)
pyanaconda/constants.py | 3 +++
pyanaconda/ui/gui/__init__.py | 4 ++--
pyanaconda/ui/gui/spokes/welcome.py | 12 +++++++++++-
3 files changed, 16 insertions(+), 3 deletions(-)
--
2.5.0