summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8d8fcc5)
In order to have signals working we need to set the DBusGMainLoop.
+from dbus.mainloop.glib import DBusGMainLoop
+DBusGMainLoop(set_as_default=True)
+
def onCallStatus(sender = "", *args, **kwargs):
status = str(args[0])
if (args[1].has_key("peer")):
def onCallStatus(sender = "", *args, **kwargs):
status = str(args[0])
if (args[1].has_key("peer")):