From 4a73fbc367f06134b300a0fa9ac9dc787d6f4f4b Mon Sep 17 00:00:00 2001 From: Robert Djubek Date: Sun, 15 Dec 2019 06:46:24 +0000 Subject: wire-desktop: fix desktop icon Update the Name attribute in the wire-desktop.desktop applications file and add StartupWMClass key. This fixes the icons on plasma5 and gnome3 which, in certain places, showed a generic X.org icon instead of the Wire icon. --- .../networking/instant-messengers/wire-desktop/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/networking/instant-messengers/wire-desktop') diff --git a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix index 0079d9f324f7b..fde40c62e4d82 100644 --- a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix @@ -69,11 +69,14 @@ let desktopItem = makeDesktopItem { categories = "Network;InstantMessaging;Chat;VideoConference"; comment = "Secure messenger for everyone"; - desktopName = "Wire Desktop"; + desktopName = "Wire"; exec = "wire-desktop %U"; genericName = "Secure messenger"; icon = "wire-desktop"; name = "wire-desktop"; + extraEntries = '' + StartupWMClass="Wire" + ''; }; dontBuild = true; -- cgit 1.4.1