[Sugar-devel] [PATCH] Display changed to 'Sugar in a window' instead of 'Xephyr on' Ticket #2285
Ishan Bansal
ishan at seeta.in
Wed Sep 8 12:48:06 EDT 2010
Changed title displayed in the title bar of the sugar-emulator (SL#2285)
---
src/jarabe/util/emulator.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py
index 5a99dbe..e956669 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,6 +37,7 @@ 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())
--
1.7.0.4
More information about the Sugar-devel
mailing list