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

Daniel Narvaez dwnarvaez at gmail.com
Fri Jan 4 03:54:02 EST 2013


Cool! Can you push please? (I gave you access)

Thanks.

On Friday, 4 January 2013, Daniel Francis wrote:

> Signed-off-by: Daniel Francis <francis at sugarlabs.org <javascript:;>>
> ---
>  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
>
>

-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130104/2e60144c/attachment-0001.html>


More information about the Sugar-devel mailing list