[Sugar-devel] [PATCH] Display 'Sugar in a window' instead of 'Xephyr on'. Ticket #2285
Ishan Bansal
ishan at seeta.in
Tue Sep 7 13:43:24 EDT 2010
Changed title displayed in the title bar of the sugar-emulator.
---
src/jarabe/util/emulator.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py
index 5a99dbe..c16680f 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,8 @@ def _run_xephyr(display, dpi, dimensions, fullscreen):
cmd = [ 'Xephyr' ]
cmd.append(':%d' % display)
cmd.append('-ac')
+ cmd.append('-title')
+ cmd.append(_('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