On Thu, 2013-03-28 at 11:37 -0400, Chris Lumens wrote:
> Does this really change anything? Cause if I'm not wrong,
using the
> @gtk_thread_wait decorator makes the _initialize method run in the main
> loop, thus in the main thread. I believe the code changing the Gtk
> widgets (not stores etc.) should be put in a separate function decorated
> with @gtk_thread_nowait (because the thread doesn't have to wait for
> these actions to finish).
If I leave everything else as it was in the patch, but remove the
decorator from _initialize and mark add_to_store as gtk_action_nowait,
the time from betanag dialog to hub displayed is under one second on my
thoroughly unscientific testing. It might even be under half a second.
So that's definitely an improvement.
It definitely is, great! Thanks for the
further investigation.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic