Cleanups
This commit is contained in:
parent
70485218c0
commit
4d67407f6a
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user