From 229604690bea0a694702a1c2145474d908658f3a Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 22 Jul 2010 09:23:34 -0400 Subject: [PATCH] [gnome-shell.in] set $XDG_DATA_DIRS too This is needed to find gsettings schemas that are installed in the jhbuild prefix. --- src/gnome-shell.in | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 src/gnome-shell.in diff --git a/src/gnome-shell.in b/src/gnome-shell.in old mode 100644 new mode 100755 index 9ee1ad4fd..493c0b4f9 --- a/src/gnome-shell.in +++ b/src/gnome-shell.in @@ -214,6 +214,7 @@ def start_shell(perf_output=None): env.update({'GNOME_SHELL_JS' : '@GJS_JS_DIR@:@GJS_JS_NATIVE_DIR@:' + js_dir, 'PATH' : '@MUTTER_BIN_DIR@:' + os.environ.get('PATH', ''), 'XDG_CONFIG_DIRS' : '@sysconfdir@/xdg:' + (os.environ.get('XDG_CONFIG_DIRS') or '/etc/xdg'), + 'XDG_DATA_DIRS' : '@datadir@:' + (os.environ.get('XDG_DATA_DIRS') or '/usr/local/share:/usr/share'), 'GNOME_DISABLE_CRASH_DIALOG' : '1'}) if running_from_source_tree: