From 3c4ccb16f99c1d9a246ec338cb96b173c720e666 Mon Sep 17 00:00:00 2001 From: Gryllida A Date: Sat, 18 May 2013 21:09:43 +0930 Subject: [PATCH] Decode buffer name when inserting (patch #8050) --- src/qweechat/qweechat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qweechat/qweechat.py b/src/qweechat/qweechat.py index 604503c..1aac616 100755 --- a/src/qweechat/qweechat.py +++ b/src/qweechat/qweechat.py @@ -369,7 +369,7 @@ class MainWindow(QtGui.QMainWindow): def insert_buffer(self, index, buf): self.buffers.insert(index, buf) - self.list_buffers.insertItem(index, '%d. %s' % (buf.data['number'], buf.data['full_name'])) + self.list_buffers.insertItem(index, '%d. %s' % (buf.data['number'], buf.data['full_name'].decode('utf-8'))) self.stacked_buffers.insertWidget(index, buf.widget) def remove_buffer(self, index):