rm buttons from latest version notification-daemon popups. fixes #1537
This commit is contained in:
parent
468b5d60c1
commit
751a6fe483
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue