rm buttons from latest version notification-daemon popups. fixes #1537

This commit is contained in:
Nikos Kouremenos 2006-03-24 23:47:09 +00:00
parent 468b5d60c1
commit 751a6fe483
1 changed files with 3 additions and 2 deletions

View File

@ -159,8 +159,9 @@ class DesktopNotification:
if version >= ( 0, 3, 2): if version >= ( 0, 3, 2):
self.id = self.notif.Notify(dbus.String(_('Gajim')), self.id = self.notif.Notify(dbus.String(_('Gajim')),
dbus.UInt32(0), dbus.String(path_to_image), dbus.UInt32(0), dbus.String(path_to_image),
dbus.String(event_type), dbus.String(text), (dbus.String(ntype), dbus.String(event_type), dbus.String(text),
dbus.String(event_type)), {}, dbus.UInt32(timeout*1000)) (dbus.String('default'), dbus.String(event_type)), {},
dbus.UInt32(timeout*1000))
else: else:
self.id = self.notif.Notify(dbus.String(_('Gajim')), self.id = self.notif.Notify(dbus.String(_('Gajim')),
dbus.String(path_to_image), dbus.UInt32(0), dbus.String(path_to_image), dbus.UInt32(0),