[gnome-shell.in] set $XDG_DATA_DIRS too

This is needed to find gsettings schemas that are installed in
the jhbuild prefix.
This commit is contained in:
Dan Winship 2010-07-22 09:23:34 -04:00
parent 4dfc869e9d
commit 229604690b

1
src/gnome-shell.in Normal file → Executable file
View File

@ -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: