Move the categories directly into the .desktop file itself
No need to --add-category when we simply control the .desktop file
This commit is contained in:
parent
44a1dded91
commit
9f0d1ae239
|
@ -49,3 +49,4 @@ Type=Application
|
||||||
StartupWMClass=Firefox-bin
|
StartupWMClass=Firefox-bin
|
||||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
Categories=Network;WebBrowser;
|
||||||
|
|
|
@ -193,8 +193,6 @@ DESTDIR=$RPM_BUILD_ROOT make install
|
||||||
|
|
||||||
desktop-file-install --vendor mozilla \
|
desktop-file-install --vendor mozilla \
|
||||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
--add-category WebBrowser \
|
|
||||||
--add-category Network \
|
|
||||||
%{SOURCE20}
|
%{SOURCE20}
|
||||||
|
|
||||||
# set up the firefox start script
|
# set up the firefox start script
|
||||||
|
|
Loading…
Reference in New Issue