jhbuild r2557 - in trunk: . jhbuild/frontends
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2557 - in trunk: . jhbuild/frontends
- Date: Mon, 1 Dec 2008 12:39:10 +0000 (UTC)
Author: fpeters
Date: Mon Dec 1 12:39:10 2008
New Revision: 2557
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2557&view=rev
Log:
* jhbuild/frontends/terminal.py: set xterm title in output encoding
(usually utf-8), this goes against the VT220 convention but it is the
way gnome-terminal works; xterm has a utf8Title resource to work the
same way (see xterm manpage).
Modified:
trunk/ChangeLog
trunk/jhbuild/frontends/terminal.py
Modified: trunk/jhbuild/frontends/terminal.py
==============================================================================
--- trunk/jhbuild/frontends/terminal.py (original)
+++ trunk/jhbuild/frontends/terminal.py Mon Dec 1 12:39:10 2008
@@ -95,8 +95,7 @@
self.display_status_line(progress_percent, module_num, msg)
if is_xterm:
- sys.stdout.write('\033]0;jhbuild:%s%s\007' % (
- msg.encode('iso-8859-1'), progress))
+ sys.stdout.write('\033]0;jhbuild:%s%s\007' % (uencode(msg), progress))
sys.stdout.flush()
self.trayicon.set_tooltip('%s%s' % (msg, progress))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]