Use good funtion so we can see icon for pynotify notifs
This commit is contained in:
parent
320b500941
commit
983ea67c00
|
@ -319,7 +319,7 @@ def popup(event_type, jid, account, msg_type = '', path_to_image = None,
|
||||||
notification.set_data('jid', jid)
|
notification.set_data('jid', jid)
|
||||||
notification.set_data('account', account)
|
notification.set_data('account', account)
|
||||||
notification.set_data('msg_type', msg_type)
|
notification.set_data('msg_type', msg_type)
|
||||||
notification.set_data('path_to_image', path_to_image)
|
notification.set_property('icon-name', path_to_image)
|
||||||
notification.add_action('default', 'Default Action',
|
notification.add_action('default', 'Default Action',
|
||||||
on_pynotify_notification_clicked)
|
on_pynotify_notification_clicked)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue