[master][v2] Speed up the AddLayouts dialog

Chris Lumens clumens at redhat.com
Wed Nov 13 16:38:38 UTC 2013


> Vratislav Podzimek (3):
>   Allow having unique thread names with given prefix
>   Add function to map functions on items in the main thread
>   Initialize the AddLayouts dialog in advance in the KeyboardSpoke
> 
>  pyanaconda/constants.py                    |  5 ++
>  pyanaconda/threads.py                      | 19 +++++++
>  pyanaconda/ui/gui/spokes/datetime_spoke.py |  7 +--
>  pyanaconda/ui/gui/spokes/keyboard.py       | 50 ++++++++++++-----
>  pyanaconda/ui/gui/utils.py                 | 88 +++++++++++++++++++++++++++++-
>  pyanaconda/ui/tui/simpleline/base.py       |  8 +--
>  6 files changed, 150 insertions(+), 27 deletions(-)

These look fine to me.

Incidentally, at one point I considered enforcing all Spoke initialize
methods running in threads using the scheme we have now with
_initialize.  I decided it wasn't really all that important to do
everywhere, but I at least thought about it.

- Chris


More information about the anaconda-patches mailing list