diff options
Diffstat (limited to 'portato/gui/windows')
-rw-r--r-- | portato/gui/windows/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 2dbecde..7ddd868 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -1655,7 +1655,7 @@ class MainWindow (Window): """ Main. """ - gobject.threads_init() + plugin.hook("thread_init")(gobject.threads_init)() # now subthreads can run normally, but are not allowed to touch the GUI. If threads should change sth there - use gobject.idle_add(). # for more informations on threading and gtk: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq20.006.htp gtk.main() |