[Sugar-devel] [PATCH sugar-runner v2] Use sugar style scrollbars when running in Unity

Daniel Francis francis at sugarlabs.org
Thu Jan 3 21:31:25 EST 2013


Signed-off-by: Daniel Francis <francis at sugarlabs.org>
---
 scripts/sugar-runner.in |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/sugar-runner.in b/scripts/sugar-runner.in
index 44f2ca8..50d3fbe 100644
--- a/scripts/sugar-runner.in
+++ b/scripts/sugar-runner.in
@@ -132,6 +132,9 @@ def _setup_variables(args, home_dirs):
     os.environ["XDG_DATA_HOME"] = home_dirs["data"]
     os.environ["XDG_CONFIG_HOME"] = home_dirs["config"]
 
+    # Disable Unity custom gtk scrollbars
+    os.environ["LIBOVERLAY_SCROLLBAR"] = "0"
+
 parser = argparse.ArgumentParser(description="Run sugar")
 parser.add_argument("--resolution", help="screen resolution")
 parser.add_argument("--output", help="name of the output")
-- 
1.7.10.4



More information about the Sugar-devel mailing list