- Change 'Hidden' to 'NoDisplay' in the desktop file, and use the System

category instead of Utility (bug #170762).
- Resolves: rhbz#170762
This commit is contained in:
Tim Waugh 2007-04-03 16:20:28 +00:00
parent 98e583d922
commit 38cede9601

View File

@ -117,11 +117,11 @@ rm -f %{buildroot}%{_bindir}/foomatic-rip \
%{buildroot}%{_datadir}/applications/hplip.desktop
mkdir -p %{buildroot}%{_datadir}/applications
echo 'Hidden=true' >> %{buildroot}%{_datadir}/hplip/data/hplip.desktop
echo 'NoDisplay=true' >> %{buildroot}%{_datadir}/hplip/data/hplip.desktop
desktop-file-install --vendor HP \
--dir %{buildroot}%{_datadir}/applications \
--add-category X-Red-Hat-Extra \
--add-category Utility \
--add-category System \
--add-category Application \
%{buildroot}%{_datadir}/hplip/data/hplip.desktop
@ -190,6 +190,8 @@ exit 0
%changelog
* Tue Apr 3 2007 Tim Waugh <twaugh@redhat.com>
- Change 'Hidden' to 'NoDisplay' in the desktop file, and use the System
category instead of Utility (bug #170762).
- Link libsane-hpaio against libsane (bug #234813).
* Fri Mar 30 2007 Tim Waugh <twaugh@redhat.com>