remove x-scheme-handler/mailto from .desktop file; change icon to follow xdg scheme
This commit is contained in:
parent
de893875f3
commit
cea1f1b770
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
desktopItem = makeDesktopItem {
|
||||
name = browserName;
|
||||
exec = browserName + " %U";
|
||||
icon = icon;
|
||||
icon = "$out/icons/firefox.png";
|
||||
comment = "";
|
||||
desktopName = desktopName;
|
||||
genericName = "Web Browser";
|
||||
@ -19,13 +19,10 @@ stdenv.mkDerivation {
|
||||
"text/html"
|
||||
"text/xml"
|
||||
"application/xhtml+xml"
|
||||
"application/vnd.mozilla.xul+xml"
|
||||
"x-scheme-handler/http"
|
||||
"x-scheme-handler/https"
|
||||
"x-scheme-handler/ftp"
|
||||
"x-scheme-handler/mailto"
|
||||
"x-scheme-handler/webcal"
|
||||
"x-scheme-handler/about"
|
||||
"x-scheme-handler/unknown"
|
||||
];
|
||||
};
|
||||
|
||||
@ -61,6 +58,9 @@ stdenv.mkDerivation {
|
||||
''
|
||||
}
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
ln -s "$out/lib/firefox-35.0.1/browser/icons/mozicon128.png" "$out/share/icons/firefox.png"
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
cp $desktopItem/share/applications/* $out/share/applications
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user