This commit is contained in:
Marco Pesenti Gritti 2006-08-09 02:13:56 +02:00
parent 70485218c0
commit 4d67407f6a
2 changed files with 5 additions and 6 deletions

View File

@ -7,6 +7,11 @@ import pygtk
pygtk.require('2.0') pygtk.require('2.0')
import gobject import gobject
import gtk 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.activity import ActivityFactory
from sugar.LogWriter import LogWriter from sugar.LogWriter import LogWriter

View File

@ -1,15 +1,9 @@
import dbus import dbus
import dbus.service import dbus.service
import dbus.glib
import gtk import gtk
import gobject import gobject
from sugar.presence.PresenceService import PresenceService from sugar.presence.PresenceService import PresenceService
# Work around for dbus mutex locking issue
gtk.gdk.threads_init()
dbus.glib.threads_init()
import sugar.util import sugar.util
ACTIVITY_SERVICE_NAME = "com.redhat.Sugar.Activity" ACTIVITY_SERVICE_NAME = "com.redhat.Sugar.Activity"