Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rwxr-xr-xshell/sugar-activity-factory5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/sugar-activity-factory b/shell/sugar-activity-factory
index b39d229..2ec6bb3 100755
--- a/shell/sugar-activity-factory
+++ b/shell/sugar-activity-factory
@@ -7,6 +7,11 @@ import pygtk
pygtk.require('2.0')
import gobject
import gtk
+import dbus.glib
+
+# Work around for dbus mutex locking issue
+gtk.gdk.threads_init()
+dbus.glib.threads_init()
from sugar.activity import ActivityFactory
from sugar.LogWriter import LogWriter