Merge pull request #2521 from mssdvd/add-default-notification-action

mu4e-notifications: add default action
This commit is contained in:
Dirk-Jan C. Binnema 2023-07-18 19:06:33 +03:00 committed by GitHub
commit 224bbfe5cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ support."
;; :app-icon (ignore-errors
;; (image-search-load-path
;; "gnus/gnus.png"))
:actions '("Show" "Favorite bookmark")
:actions '("Show" "Favorite bookmark"
"default" "Favorite bookmark")
:on-action (lambda (_ _) (mu4e-jump-to-favorite)))))
;; ... TBI: other notifications ...
(t ;; last resort