chromium: add StartupWMClass to desktop file. Fixes #12433

(cherry picked from commit 5f8311775c)
This commit is contained in:
Luca Bruno
2016-02-29 20:42:58 +01:00
committed by Bjørn Forsman
parent e603afd3db
commit a33dbb3248
2 changed files with 5 additions and 0 deletions

View File

@@ -57,6 +57,9 @@ let
"x-scheme-handler/unknown"
];
categories = "Network;WebBrowser";
extraEntries = ''
StartupWMClass=chromium-browser
'';
};
suffix = if channel != "stable" then "-" + channel else "";

View File

@@ -9,6 +9,7 @@
, genericName
, mimeType ? ""
, categories ? "Application;Other;"
, extraEntries ? ""
}:
stdenv.mkDerivation {
@@ -26,6 +27,7 @@ stdenv.mkDerivation {
GenericName=${genericName}
MimeType=${mimeType}
Categories=${categories}
${extraEntries}
EOF
'';
}