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

Daniel Narvaez dwnarvaez at gmail.com
Thu Jan 3 19:57:08 EST 2013


Hi Daniel,

just a couple of nitpicks.

- Add a comment explaining what the variable does to the code (we don't do
it with he others but this one is obscure enough I think)

# Disable Unity custom gtk scrollbars

- Use " instead of ' for consistency.

Thanks a lot!

On Thursday, 3 January 2013, Daniel Francis wrote:

> Signed-off-by: Daniel Francis <francis at sugarlabs.org <javascript:;>>
> ---
>  scripts/sugar-runner.in |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/scripts/sugar-runner.in b/scripts/sugar-runner.in
> index 44f2ca8..53bbb63 100644
> --- a/scripts/sugar-runner.in
> +++ b/scripts/sugar-runner.in
> @@ -132,6 +132,8 @@ def _setup_variables(args, home_dirs):
>      os.environ["XDG_DATA_HOME"] = home_dirs["data"]
>      os.environ["XDG_CONFIG_HOME"] = home_dirs["config"]
>
> +    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/192cf2e2/attachment.html>


More information about the Sugar-devel mailing list