From 94a73ab42c46c6dee6405489f27580c6b5078894 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 25 Apr 2006 15:47:30 +0000 Subject: Added TryExec to make_desktop_entry so menu items will only display for users that have permissions to run them. --- eclass/eutils.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 09913db6eba3..59f60cfabaf1 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.233 2006/04/19 03:53:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.234 2006/04/25 15:47:30 wolf31o2 Exp $ # # Author: Martin Schlemmer # @@ -901,6 +901,7 @@ Name=${name} Type=Application Comment=${DESCRIPTION} Exec=${exec} +TryExec=${exec} Path=${path} Icon=${icon} Categories=Application;${type};" > "${desktop}" -- cgit v1.2.3-65-gdbad