Permalink
Browse files

Fix asynchronous calls for >= 0.80 only.

  • Loading branch information...
1 parent 81dc8fc commit ef5450183cc4df11e55df48df945ab4450f20e2a @lichray lichray committed May 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 sonata/dbus_plugin.py
View
@@ -27,6 +27,8 @@
import dbus
import dbus.service
import _dbus_bindings as dbus_bindings
+ from dbus.mainloop.glib import DBusGMainLoop
+ DBusGMainLoop(set_as_default=True)
HAVE_DBUS = True
except:
HAVE_DBUS = False

0 comments on commit ef54501

Please sign in to comment.