Extend, don't replace GI_TYPELIB_PATH in gnome-shell launcher
Without this we can't support some gi typelibs being in system directories.
This commit is contained in:
parent
474ff2e997
commit
ddc135839b
@ -195,6 +195,8 @@ def start_shell(perf_output=None):
|
|||||||
'NO_AT_BRIDGE' : '1'})
|
'NO_AT_BRIDGE' : '1'})
|
||||||
|
|
||||||
if running_from_source_tree:
|
if running_from_source_tree:
|
||||||
|
if os.environ.has_key('GI_TYPELIB_PATH'):
|
||||||
|
typelib_dir = typelib_dir + ":" + os.environ.get('GI_TYPELIB_PATH')
|
||||||
env.update({'GNOME_SHELL_DATADIR' : data_dir,
|
env.update({'GNOME_SHELL_DATADIR' : data_dir,
|
||||||
'GI_TYPELIB_PATH' : typelib_dir,
|
'GI_TYPELIB_PATH' : typelib_dir,
|
||||||
'GSETTINGS_SCHEMA_DIR' : data_dir })
|
'GSETTINGS_SCHEMA_DIR' : data_dir })
|
||||||
|
Loading…
Reference in New Issue
Block a user