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:
Christopher Aillon 2011-01-31 19:02:11 -08:00
parent 44a1dded91
commit 9f0d1ae239
2 changed files with 1 additions and 2 deletions

View File

@ -49,3 +49,4 @@ Type=Application
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;
StartupNotify=true
Categories=Network;WebBrowser;

View File

@ -193,8 +193,6 @@ DESTDIR=$RPM_BUILD_ROOT make install
desktop-file-install --vendor mozilla \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category WebBrowser \
--add-category Network \
%{SOURCE20}
# set up the firefox start script