[Sugar-devel] [PATCH] Patch to display 'Sugar inside Xephyr' instead of 'Xephyr on' in the title bar. Ticket #2285

Tomeu Vizoso tomeu at sugarlabs.org
Tue Sep 7 07:08:07 EDT 2010


On Sun, Sep 5, 2010 at 18:12, Ishan Bansal <ishan at seeta.in> wrote:
> This patch is to display 'Sugar inside Xephyr' instead of 'Xephyr on' in the title bar of the sugar windows.
> ---
>  sugar-0.88-0.88.1/src/jarabe/util/emulator.py |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/sugar-0.88-0.88.1/src/jarabe/util/emulator.py b/sugar-0.88-0.88.1/src/jarabe/util/emulator.py
> index 5a99dbe..32ab982 100644
> --- a/sugar-0.88-0.88.1/src/jarabe/util/emulator.py
> +++ b/sugar-0.88-0.88.1/src/jarabe/util/emulator.py
> @@ -36,6 +36,7 @@ def _run_xephyr(display, dpi, dimensions, fullscreen):
>     cmd = [ 'Xephyr' ]
>     cmd.append(':%d' % display)
>     cmd.append('-ac')
> +    cmd += ['-title', 'Sugar inside Xephyr']
>
>     screen_size = (gtk.gdk.screen_width(), gtk.gdk.screen_height())
>
> --
> 1.7.0.4

For reference: http://bugs.sugarlabs.org/ticket/2285#comment:2

Regards,

Tomeu

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


More information about the Sugar-devel mailing list