hgcmd: fix UTF-8 encoding error
authorTK Soh <teekaysoh@yahoo.com>
Mon, 28 Apr 2008 01:24:42 +0100
changeset 1155 e8d2c1d675eb
parent 1152 68a01cdebb39
child 1156 b2cdc4ec5a31
hgcmd: fix UTF-8 encoding error
hggtk/hgcmd.py
--- a/hggtk/hgcmd.py	Sun Apr 27 05:55:53 2008 +0100
+++ b/hggtk/hgcmd.py	Mon Apr 28 01:24:42 2008 +0100
@@ -50,7 +50,7 @@
             hbox = gtk.HBox()
             
             self.status_text = gtk.Label()
-            self.status_text.set_text(" ".join(cmdline).replace("\n", " "))
+            self.status_text.set_text(toutf(" ".join(cmdline).replace("\n", " ")))
             self.status_text.set_alignment(0, 0.5)
             self.status_text.set_ellipsize(pango.ELLIPSIZE_END)
             hbox.pack_start(self.status_text, True, True, 3)