summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-03-27 11:25:51 +0000
committerPacho Ramos <pacho@gentoo.org>2011-03-27 11:25:51 +0000
commit8dea15288d9fdb24a0b7b477e31ab746e3f4c1a6 (patch)
tree7c2aad2bf43012a2cbf59f270b13849f83da0e75 /gnome-base
parentx86 stable wrt bug #358577 (diff)
downloadgentoo-2-8dea15288d9fdb24a0b7b477e31ab746e3f4c1a6.tar.gz
gentoo-2-8dea15288d9fdb24a0b7b477e31ab746e3f4c1a6.tar.bz2
gentoo-2-8dea15288d9fdb24a0b7b477e31ab746e3f4c1a6.zip
Append /usr/share/gnome to XDG_DATA_DIRS for being able to use defaults.list without affecting to any other desktop.
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gnome-session/ChangeLog6
-rw-r--r--gnome-base/gnome-session/files/Gnome7
2 files changed, 12 insertions, 1 deletions
diff --git a/gnome-base/gnome-session/ChangeLog b/gnome-base/gnome-session/ChangeLog
index 174e94f33bfc..409270083e52 100644
--- a/gnome-base/gnome-session/ChangeLog
+++ b/gnome-base/gnome-session/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-base/gnome-session
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-session/ChangeLog,v 1.284 2011/03/22 19:11:59 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-session/ChangeLog,v 1.285 2011/03/27 11:25:51 pacho Exp $
+
+ 27 Mar 2011; Pacho Ramos <pacho@gentoo.org> files/Gnome:
+ Append /usr/share/gnome to XDG_DATA_DIRS for being able to use defaults.list
+ without affecting to any other desktop.
22 Mar 2011; Brent Baude <ranger@gentoo.org> gnome-session-2.32.1.ebuild:
Marking gnome-session-2.32.1 ppc stable for bug 353436
diff --git a/gnome-base/gnome-session/files/Gnome b/gnome-base/gnome-session/files/Gnome
index d068daea6bd1..4577caf4daf7 100644
--- a/gnome-base/gnome-session/files/Gnome
+++ b/gnome-base/gnome-session/files/Gnome
@@ -9,6 +9,13 @@ if [ -f /etc/xdg/menus/gnome-applications.menu ] ; then
export XDG_MENU_PREFIX=gnome-
fi
+if [ -z "$XDG_DATA_DIRS" ]; then
+ XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
+else
+ XDG_DATA_DIRS=/usr/share/gnome:"$XDG_DATA_DIRS"
+fi
+export XDG_DATA_DIRS
+
for errfile in "$HOME/.gnomerc-errors" "${TMPDIR-/tmp}/gnomerc-$USER" "/tmp/gnomerc-$USER"
do
if ( cp /dev/null "$errfile" 2> /dev/null )