[Sugar-devel] [PATCH] Display 'Sugar in a window' instead of 'Xephyr on'. Ticket #2285

Ishan Bansal ishan at seeta.in
Wed Sep 8 11:00:13 EDT 2010


Changed title displayed in the title bar of the sugar-emulator.
---
 src/jarabe/util/emulator.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py
index 5a99dbe..07f1569 100644
--- a/src/jarabe/util/emulator.py
+++ b/src/jarabe/util/emulator.py
@@ -20,6 +20,7 @@ import subprocess
 import sys
 import time
 from optparse import OptionParser
+from gettext import gettext as _
 
 import gtk
 import gobject
@@ -36,7 +37,8 @@ def _run_xephyr(display, dpi, dimensions, fullscreen):
     cmd = [ 'Xephyr' ]
     cmd.append(':%d' % display)
     cmd.append('-ac') 
-
+    cmd += ['-title',_('Sugar in a window')]
+    
     screen_size = (gtk.gdk.screen_width(), gtk.gdk.screen_height())
 
     if (not dimensions) and (fullscreen is None) and \
-- 
1.7.0.4



More information about the Sugar-devel mailing list