Commit 46cd3028 authored by Julien Danjou's avatar Julien Danjou Committed by Katsumi Yamaoka
Browse files

gnus-notifications.el (gnus-notifications-notify): Use photo-file as app-icon

parent 04d360e7
2013-05-16 Julien Danjou <julien@danjou.info>
* gnus-notifications.el (gnus-notifications-notify): Use photo-file as
app-icon.
2013-05-15 Glenn Morris <rgm@gnu.org>
 
* shr-color.el (shr-color-visible-luminance-min)
......
......@@ -92,12 +92,12 @@ Return a notification id if any, or t on success."
:body subject
:actions '("read" "Read")
:on-action 'gnus-notifications-action
:app-icon (gnus-funcall-no-warning
'image-search-load-path "gnus/gnus.png")
:app-icon (or photo-file
(gnus-funcall-no-warning
'image-search-load-path "gnus/gnus.png"))
:app-name "Gnus"
:category "email.arrived"
:timeout gnus-notifications-timeout
:image-path photo-file)
:timeout gnus-notifications-timeout)
(message "New message from %s: %s" from subject)
;; Don't return an id
t))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment