From 14466fa8ba2fb88bfcb03b0d78f8de6c28867d79 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Wed, 15 Sep 2010 13:13:57 +0200 Subject: [PATCH] fso-make-call.py: add the mainloop specifier In order to have signals working we need to set the DBusGMainLoop. --- fso-make-call.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fso-make-call.py b/fso-make-call.py index aec370e..0dc936e 100755 --- a/fso-make-call.py +++ b/fso-make-call.py @@ -4,6 +4,9 @@ import sys import time import dbus +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")): -- 2.1.4