Subject: [PATCH] gnu: icedove-minimal: Add argument to desktop file.
From: Ekaitz Zarraga <[email-masked]>
To: [email-masked]
Cc: Ekaitz Zarraga <[email-masked]>
Date: Tue, 12 Dec 2023 21:34:49 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Icedove was not able to handle mailto: links, even if it responded to
them, it only activated the window, but didn't compose a new email.
Calling it directly by `icedove mailto:...` worked. According to:
<https://lists.debian.org/debian-user/2015/06/msg01071.html>
It was missing the argument in the `Exec` line of the desktop file.

* gnu/packages/gnuzilla.scm (icedove-minimal)[phases]
  {install-desktop-file}: Add arguments to Exe line in .desktop file.

Change-Id: I3de5e57ed2c5eef23eee88e264487e6460c174b3
---
 gnu/packages/gnuzilla.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index e5d0c4ea9b..e248e637ec 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1774,7 +1774,7 @@ (define-public icedove-minimal
                     (format #t
                             "[Desktop Entry]~@
                             Name=Icedove~@
-                            Exec=~a/bin/icedove~@
+                            Exec=~a/bin/icedove %u~@
                             Icon=icedove~@
                             GenericName=Mail/News Client~@
                             Categories=Network;Email;~@

base-commit: 58bbb38c5bd2e42aab9e9408d8c9d8da3409f178
-- 
2.41.0