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

This commit is contained in:
Nikos Kouremenos 2005-11-23 00:17:02 +00:00
parent d319c8eedf
commit 880da6fb53
1 changed files with 4 additions and 3 deletions

View File

@ -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: