diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-07-15 09:09:43 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-20 13:02:27 (GMT) |
commit | 84d312c974a48e25312708d4ec894ee51b1d4ddc (patch) | |
tree | db17a7b22b99fa8e414a438665e357d3d977dae9 /src/jarabe/model/telepathyclient.py | |
parent | d0ef7746a0acb40522e85f872e06d31b29789c4f (diff) |
When the user accepts a notification, launch the activity then
tell Mission Control that this activity will handle the channel.
Diffstat (limited to 'src/jarabe/model/telepathyclient.py')
-rw-r--r-- | src/jarabe/model/telepathyclient.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/jarabe/model/telepathyclient.py b/src/jarabe/model/telepathyclient.py index 5a483d8..7554743 100644 --- a/src/jarabe/model/telepathyclient.py +++ b/src/jarabe/model/telepathyclient.py @@ -80,13 +80,14 @@ class TelepathyClient(dbus.service.Object, DBusProperties): def AddDispatchOperation(self, channels, dispatch_operation_path, properties, success_cb, error_cb_): success_cb() - - logging.debug('AddDispatchOperation\n%r\n%r\n%r', channels, dispatch_operation_path, properties) - - self.got_dispatch_operation.send(self, channels=channels, - dispatch_operation_path=dispatch_operation_path, - properties=properties) - + try: + logging.debug('AddDispatchOperation\n%r\n%r\n%r', channels, dispatch_operation_path, properties) + + self.got_dispatch_operation.send(self, channels=channels, + dispatch_operation_path=dispatch_operation_path, + properties=properties) + except Exception, e: + logging.exception(e) _instance = None |