Commit 880da6fb authored by nkour's avatar nkour

revert a commit until better fix is here; notifaction-daemon popups are back!

parent d319c8ee
......@@ -47,9 +47,10 @@ def dbus_get_interface():
bus = dbus.SessionBus()
obj = bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus')
dbus_iface = dbus.Interface(obj, 'org.freedesktop.DBus')
avail = dbus_iface.ListNames()
if not interface in avail:
return None
#FIXME: this just disables notification-daemon for 99% of users
#avail = dbus_iface.ListNames()
#if not interface in avail:
# return None
obj = bus.get_object(interface, path)
return dbus.Interface(obj, interface)
except Exception, e:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment