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.
This commit is contained in:
Robert Djubek 2019-12-15 06:46:24 +00:00 committed by worldofpeace
parent 80475128fc
commit 4a73fbc367

View File

@ -69,11 +69,14 @@ let
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
categories = "Network;InstantMessaging;Chat;VideoConference"; categories = "Network;InstantMessaging;Chat;VideoConference";
comment = "Secure messenger for everyone"; comment = "Secure messenger for everyone";
desktopName = "Wire Desktop"; desktopName = "Wire";
exec = "wire-desktop %U"; exec = "wire-desktop %U";
genericName = "Secure messenger"; genericName = "Secure messenger";
icon = "wire-desktop"; icon = "wire-desktop";
name = "wire-desktop"; name = "wire-desktop";
extraEntries = ''
StartupWMClass="Wire"
'';
}; };
dontBuild = true; dontBuild = true;