[gnome-shell] [gnome-shell.in] set $XDG_DATA_DIRS too



commit 229604690bea0a694702a1c2145474d908658f3a
Author: Dan Winship <danw gnome org>
Date:   Thu Jul 22 09:23:34 2010 -0400

    [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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-shell.in b/src/gnome-shell.in
old mode 100644
new mode 100755
index 9ee1ad4..493c0b4
--- 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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]