gnu: icedove-minimal: Add StartupWMClass.

Fixes https://issues.guix.gnu.org/69267

* gnu/packages/gnuzilla.scm (icedove-minimal)[arguments]: Set
MOZ_APP_REMOTINGNAME and StartupWMClass.

Change-Id: Ibf334c2d840a49aa7ec84da44eceecd85cb3bcd2
This commit is contained in:
Jonathan Brielmaier 2024-08-18 13:47:12 +02:00
parent 25c3534f54
commit b1b3724996
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -1424,6 +1424,9 @@ (define-public icedove-minimal
(setenv "MOZ_BUILD_DATE" #$%icedove-build-id) ; avoid timestamp
(setenv "MOZ_APP_NAME" "icedove")
;; WM_CLASS (default is "$MOZ_APP_NAME-$MOZ_UPDATE_CHANNEL").
(setenv "MOZ_APP_REMOTINGNAME" "Icedove")
(setenv "LDFLAGS" (string-append "-Wl,-rpath=" #$output
"/lib/icedove"))
(mkdir-p (string-append (getcwd) "/builddir"))
@ -1496,6 +1499,7 @@ (define-public icedove-minimal
MimeType=x-scheme-handler/mailto;~@
Type=Application~@
Actions=ComposeMessage;~@
StartupWMClass=Icedove;~@
[Desktop Action ComposeMessage]~@
Name=Write new message~@
Exec=~@*~a/bin/icedove -compose~%"