Mercurial > libervia-backend
changeset 1048:3f3dbb4c4fcf
primitivus: fixes freedesktop notifications when the owner name is changing
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 28 May 2014 12:14:28 +0200 |
parents | 5f7f913c05ac |
children | 9e24ca275ddd |
files | frontends/src/primitivus/notify.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/primitivus/notify.py Fri May 23 13:00:35 2014 +0200 +++ b/frontends/src/primitivus/notify.py Wed May 28 12:14:28 2014 +0200 @@ -38,7 +38,7 @@ #Now we try to connect to Freedesktop D-Bus API try: bus = dbus.SessionBus() - db_object = bus.get_object('org.freedesktop.Notifications', '/org/freedesktop/Notifications') + db_object = bus.get_object('org.freedesktop.Notifications', '/org/freedesktop/Notifications', follow_name_owner_changes=True) self.freedesktop_int = dbus.Interface(db_object, dbus_interface='org.freedesktop.Notifications') except: self.freedesktop_int = None