We can not mix static and dynamic gconf bindings in one process,
|
export path as env variable so it can be read by sugar-activity
when launching the activity.
Signed-off-by: Simon Schampijer <[email protected]>
---
bin/sugar-session | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/bin/sugar-session b/bin/sugar-session
index 40c9db7..40f8905 100755
--- a/bin/sugar-session
+++ b/bin/sugar-session
@@ -239,6 +239,12 @@ def main():
if timezone is not None and timezone:
os.environ['TZ'] = timezone
+ # can not mix static and dynamic gconf bindings in one process,
+ # export path as env variable, SL #3654
+ langpackdir = client.get_string('/desktop/sugar/i18n/langpackdir')
+ if langpackdir is not None and langpackdir:
+ os.environ['SUGAR_LANGPACKDIR'] = langpackdir
+
set_fonts()
# this must be added early, so that it executes and unfreezes the screen
--
1.7.10.2
_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel