gnus-notifications.el (gnus-notifications-notify): Use photo-file as app-icon
This commit is contained in:
parent
04d360e7bb
commit
46cd302842
2 changed files with 9 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue