From abf631148823eec411ed09b5fd23fa93bc72f6af Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Tue, 21 Jul 2015 16:46:05 +0200 Subject: [PATCH 6/7] Make sure (some more) GUI actions run in the main thread (#1240967) Otherwise weird things happen because multiple threads manipulate with the thread-unsafe Gtk structures. Signed-off-by: Vratislav Podzimek --- org_fedora_oscap/gui/spokes/oscap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org_fedora_oscap/gui/spokes/oscap.py b/org_fedora_oscap/gui/spokes/oscap.py index 7ed6758..2813650 100644 --- a/org_fedora_oscap/gui/spokes/oscap.py +++ b/org_fedora_oscap/gui/spokes/oscap.py @@ -408,10 +408,10 @@ class OSCAPSpoke(NormalSpoke): self._ready = True # all initialized, we can now let user set parameters - self._main_notebook.set_current_page(SET_PARAMS_PAGE) + fire_gtk_action(self._main_notebook.set_current_page, SET_PARAMS_PAGE) # and use control buttons - really_show(self._control_buttons) + fire_gtk_action(really_show, self._control_buttons) # pylint: disable-msg=E1101 hubQ.send_ready(self.__class__.__name__, True) -- 2.4.3