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

Ishan Bansal ishan at seeta.in
Sun Sep 5 12:12:12 EDT 2010


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



More information about the Sugar-devel mailing list