diff options
| author | Andrew Tropin | 2023-07-27 16:43:17 +0200 |
|---|---|---|
| committer | Michael Albinus | 2023-07-27 16:43:17 +0200 |
| commit | 42a911c61e67caa807750cd40887b729f09aaf52 (patch) | |
| tree | b3af85c6de4cf3665e81ec700a8669890e70ce8c /doc/lispref | |
| parent | 184fc9b0200cf991c250bb3d6b158eaea2ee7806 (diff) | |
| download | emacs-42a911c61e67caa807750cd40887b729f09aaf52.tar.gz emacs-42a911c61e67caa807750cd40887b729f09aaf52.zip | |
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.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/os.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 4bcc9d5fea6..ebedfe82087 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -2885,6 +2885,13 @@ must be the result of a previous @code{notifications-notify} call. | |||
| 2885 | @item :app-icon @var{icon-file} | 2885 | @item :app-icon @var{icon-file} |
| 2886 | The file name of the notification icon. If set to @code{nil}, no icon | 2886 | The file name of the notification icon. If set to @code{nil}, no icon |
| 2887 | is displayed. The default is @code{notifications-application-icon}. | 2887 | is displayed. The default is @code{notifications-application-icon}. |
| 2888 | If the value is a string, the function interprets it as a file name | ||
| 2889 | and converts to absolute by using @code{expand-file-name}; if it is a | ||
| 2890 | symbol, the function will use its name (which is useful when using the | ||
| 2891 | Icon Naming Specification @footnote{For more information about icon | ||
| 2892 | naming convention see | ||
| 2893 | @uref{https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html, | ||
| 2894 | Icon Naming Specification}}). | ||
| 2888 | 2895 | ||
| 2889 | @item :actions (@var{key} @var{title} @var{key} @var{title} ...) | 2896 | @item :actions (@var{key} @var{title} @var{key} @var{title} ...) |
| 2890 | A list of actions to be applied. @var{key} and @var{title} are both | 2897 | A list of actions to be applied. @var{key} and @var{title} are both |