[master/f20-branch] Speed up the AddLayouts dialog

Vratislav Podzimek vpodzime at redhat.com
Sat Nov 9 14:27:35 UTC 2013


These two patches speed up the AddLayouts dialog when it is shown for the first
time. They apply to the patch for making it persistent and not initialized over
and over again.

The constants used by the gtk_batch_map may need some tweaking.

These two screencasts show the difference:
http://vpodzime.fedorapeople.org/add_layouts_without_patch.webm
http://vpodzime.fedorapeople.org/add_layouts_with_patch.webm

Vratislav Podzimek (2):
  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/ui/gui/spokes/keyboard.py | 51 ++++++++++++++++------
 pyanaconda/ui/gui/utils.py           | 82 +++++++++++++++++++++++++++++++++++-
 3 files changed, 124 insertions(+), 14 deletions(-)

-- 
1.8.3.1



More information about the anaconda-patches mailing list