summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-notifications.el
diff options
context:
space:
mode:
authorJulien Danjou <jd@abydos>2014-11-13 22:11:48 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2014-11-13 22:11:48 +0000
commit4af97e67819831ca0b92600232aae8e99aeb0592 (patch)
tree4dd7678e98166a8f5f99f81fd6c295e6c38d53d8 /lisp/gnus/gnus-notifications.el
parent790ad0171da998fc4cadbd99451d6ed3a27f1965 (diff)
downloademacs-4af97e67819831ca0b92600232aae8e99aeb0592.tar.gz
lisp/gnus/gnus-notifications.el (gnus-notifications-notify): Provide both app-icon and image-path
Diffstat (limited to 'lisp/gnus/gnus-notifications.el')
-rw-r--r--lisp/gnus/gnus-notifications.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-notifications.el b/lisp/gnus/gnus-notifications.el
index ee1083d8005..0729ea25c1a 100644
--- a/lisp/gnus/gnus-notifications.el
+++ b/lisp/gnus/gnus-notifications.el
@@ -92,9 +92,9 @@ Return a notification id if any, or t on success."
:body subject
:actions '("read" "Read")
:on-action 'gnus-notifications-action
- :app-icon (or photo-file
- (gnus-funcall-no-warning
- 'image-search-load-path "gnus/gnus.png"))
+ :app-icon (gnus-funcall-no-warning
+ 'image-search-load-path "gnus/gnus.png")
+ :image-path photo-file
:app-name "Gnus"
:category "email.arrived"
:timeout gnus-notifications-timeout)