mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 20:00:46 -08:00
notifications: Allow to use Icon Naming Specification for app-icon
* doc/lispref/os.texi (Desktop Notifications): Extend meaning of :app-icon. * etc/NEWS: Allow to use Icon Naming Specification for app-icon in notifications-notify. * lisp/notifications.el (notifications-notify): Allow to use Icon Naming Specification for app-icon.
This commit is contained in:
parent
184fc9b020
commit
42a911c61e
3 changed files with 27 additions and 1 deletions
|
|
@ -2885,6 +2885,13 @@ must be the result of a previous @code{notifications-notify} call.
|
|||
@item :app-icon @var{icon-file}
|
||||
The file name of the notification icon. If set to @code{nil}, no icon
|
||||
is displayed. The default is @code{notifications-application-icon}.
|
||||
If the value is a string, the function interprets it as a file name
|
||||
and converts to absolute by using @code{expand-file-name}; if it is a
|
||||
symbol, the function will use its name (which is useful when using the
|
||||
Icon Naming Specification @footnote{For more information about icon
|
||||
naming convention see
|
||||
@uref{https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html,
|
||||
Icon Naming Specification}}).
|
||||
|
||||
@item :actions (@var{key} @var{title} @var{key} @var{title} ...)
|
||||
A list of actions to be applied. @var{key} and @var{title} are both
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue