summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-04-25 15:47:30 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-04-25 15:47:30 +0000
commitdc4cd9001d9b4b5b82b189bf4c9c56eeb05ab7d2 (patch)
tree1f58d9c08efffa27aece9da8bdc0f93c41424d50 /eclass
parentStable on sparc (diff)
downloadgentoo-2-dc4cd9001d9b4b5b82b189bf4c9c56eeb05ab7d2.tar.gz
gentoo-2-dc4cd9001d9b4b5b82b189bf4c9c56eeb05ab7d2.tar.bz2
gentoo-2-dc4cd9001d9b4b5b82b189bf4c9c56eeb05ab7d2.zip
Added TryExec to make_desktop_entry so menu items will only display for users that have permissions to run them.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass3
1 files changed, 2 insertions, 1 deletions
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 <azarah@gentoo.org>
#
@@ -901,6 +901,7 @@ Name=${name}
Type=Application
Comment=${DESCRIPTION}
Exec=${exec}
+TryExec=${exec}
Path=${path}
Icon=${icon}
Categories=Application;${type};" > "${desktop}"