From 7978757f8358f314abb5e47239c79e4cf86e3ea4 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Thu, 6 Nov 2008 09:31:22 +0000 Subject: [PATCH] - Hide usermount from GNOME and KDE menus Resolves: #440029 - Only hide userinfo and userpasswd in GNOME and KDE --- usermode.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/usermode.spec b/usermode.spec index f9d5094..b427e19 100644 --- a/usermode.spec +++ b/usermode.spec @@ -1,7 +1,7 @@ Summary: Tools for certain user account management tasks Name: usermode Version: 1.98.1 -Release: 1 +Release: 2 License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/usermode/ @@ -60,12 +60,9 @@ for wrappedapp in halt reboot poweroff ; do done echo 'USER=root' > $RPM_BUILD_ROOT/etc/security/console.apps/config-util -for i in redhat-userinfo.desktop redhat-userpasswd.desktop; do - echo 'NoDisplay=true' >>$RPM_BUILD_ROOT%{_datadir}/applications/$i -done - for i in redhat-userinfo.desktop redhat-userpasswd.desktop \ redhat-usermount.desktop; do + echo 'NotShowIn=GNOME;KDE;' >>$RPM_BUILD_ROOT%{_datadir}/applications/$i desktop-file-install --vendor redhat --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/$i @@ -112,6 +109,11 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/applications/* %changelog +* Thu Nov 6 2008 Miloslav Trmač - 1.98.1-2 +- Hide usermount from GNOME and KDE menus + Resolves: #440029 +- Only hide userinfo and userpasswd in GNOME and KDE + * Tue Oct 28 2008 Miloslav Trmač - 1.98.1-1 - Update to usermode-1.98.1-1