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