'''0.3.1 is the only version of notification daemon that has no way to determine which version it is. If no method exists, it means they're using that one.'''
self.default_version='0.3.1'
self.account=account
self.jid=jid
...
...
@@ -182,12 +183,12 @@ class DesktopNotification:
ifversion.startswith('0.3'):
ifversion>=(0,3,2):
hints={}
hints['urgency']=dbus.Byte(0)
hints['urgency']=dbus.Byte(0)# Low Urgency
hints['category']=dbus.String(ntype)
self.notif.Notify(
dbus.String(_('Gajim')),
dbus.UInt32(0),
dbus.String(self.path_to_image),
dbus.UInt32(0),# this notification does not replace other