catch all exceptions when trying to talk to Awn through dbus

This commit is contained in:
Yann Leboulanger 2007-04-30 14:32:58 +00:00
parent ca271411be
commit 7717257a37

View file

@ -3268,7 +3268,8 @@ class RosterWindow:
obj = bus.get_object('com.google.code.Awn', '/com/google/code/Awn') obj = bus.get_object('com.google.code.Awn', '/com/google/code/Awn')
awn = dbus.Interface(obj, 'com.google.code.Awn') awn = dbus.Interface(obj, 'com.google.code.Awn')
awn.SetTaskIconByName('Gajim', os.path.abspath(path)) awn.SetTaskIconByName('Gajim', os.path.abspath(path))
except dbus.DBusException: except Exception, e:
gajim.log.debug(str(e))
pass pass
def _music_track_changed(self, unused_listener, music_track_info): def _music_track_changed(self, unused_listener, music_track_info):