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-factory3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/sugar-activity-factory b/shell/sugar-activity-factory
index 7be73d1..aeba2df 100755
--- a/shell/sugar-activity-factory
+++ b/shell/sugar-activity-factory
@@ -4,11 +4,12 @@ import logging
import pygtk
pygtk.require('2.0')
+import gobject
import gtk
import dbus.glib
# Work around for dbus mutex locking issue
-gtk.gdk.threads_init()
+gobject.threads_init()
dbus.glib.threads_init()
from sugar.activity import ActivityFactory