[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] notifications: Don't expand-file-name app-icon.
From: |
Andrew Tropin |
Subject: |
[PATCH] notifications: Don't expand-file-name app-icon. |
Date: |
Mon, 24 Jul 2023 12:39:06 +0400 |
Icon is not always a file name, but can be just an icon name.
https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
* lisp/notifications.el (notifications-notify): Don't expand-file-name
app-icon.
---
Otherwise it not possible to send a notification similiar to:
notify-send -i multimedia-player "I am playing music"
lisp/notifications.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/notifications.el b/lisp/notifications.el
index 984ddbec5e9..c314858d0ae 100644
--- a/lisp/notifications.el
+++ b/lisp/notifications.el
@@ -304,7 +304,7 @@ notifications-notify
notifications-application-name)
:uint32 (or replaces-id 0)
:string (if app-icon
- (expand-file-name app-icon)
+ app-icon
;; If app-icon is nil because user
;; requested it to be so, send the
;; empty string
--
2.41.0
signature.asc
Description: PGP signature
- [PATCH] notifications: Don't expand-file-name app-icon.,
Andrew Tropin <=
- Re: [PATCH] notifications: Don't expand-file-name app-icon., Eli Zaretskii, 2023/07/24
- Re: [PATCH] notifications: Don't expand-file-name app-icon., Michael Albinus, 2023/07/25
- Re: [PATCH] notifications: Don't expand-file-name app-icon., Eli Zaretskii, 2023/07/25
- Re: [PATCH] notifications: Don't expand-file-name app-icon., Andrew Tropin, 2023/07/25
- Re: [PATCH] notifications: Don't expand-file-name app-icon., Michael Albinus, 2023/07/25
- Re: [PATCH] notifications: Don't expand-file-name app-icon., Andrew Tropin, 2023/07/26
- Re: [PATCH] notifications: Don't expand-file-name app-icon., Michael Albinus, 2023/07/26
- Re: [PATCH] notifications: Don't expand-file-name app-icon., Andrew Tropin, 2023/07/26
Re: [PATCH] notifications: Don't expand-file-name app-icon., Andrew Tropin, 2023/07/25