From 9f0d1ae239ab95903e08c418dc8b4cedaa3fe7b0 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Mon, 31 Jan 2011 19:02:11 -0800 Subject: [PATCH] Move the categories directly into the .desktop file itself No need to --add-category when we simply control the .desktop file --- firefox.desktop | 1 + firefox.spec | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/firefox.desktop b/firefox.desktop index de5d47e..e3bee09 100644 --- a/firefox.desktop +++ b/firefox.desktop @@ -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; diff --git a/firefox.spec b/firefox.spec index aa3fea3..a744881 100644 --- a/firefox.spec +++ b/firefox.spec @@ -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