X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fcall_handler.py;h=b90e109c9749a832e607aa2f9898b55f69ca7028;hb=e7dba12e0b25db1b66e1eab74c9291e6a90c831f;hp=756dc6ac2504971f0ab4b36b8ea9f09c87e93882;hpb=422bd1f85453bc98d3292c2b05ac6a27677d041f;p=gc-dialer diff --git a/src/call_handler.py b/src/call_handler.py index 756dc6a..b90e109 100644 --- a/src/call_handler.py +++ b/src/call_handler.py @@ -45,7 +45,14 @@ class _MissedCallWatcher(QtCore.QObject): def isSupported(self): return self._isSupported + @property + def isStarted(self): + return self._isStarted + def start(self): + if self._isStarted: + _moduleLogger.info("voicemail monitor already started") + return try: self._newChannelSignaller.start() except RuntimeError: @@ -110,6 +117,10 @@ class _DummyMissedCallWatcher(QtCore.QObject): def isSupported(self): return False + @property + def isStarted(self): + return self._isStarted + def start(self): self._isStarted = True