correctly decode utf-8 names in history window. fixes #3552

This commit is contained in:
Yann Leboulanger 2007-12-03 18:53:24 +00:00
parent 31a1f3ef6d
commit a8666e1508
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ class HistoryWindow:
self.window.destroy()
def on_jid_entry_activate(self, widget):
self.jid = self.jid_entry.get_text()
self.jid = self.jid_entry.get_text().decode('utf-8')
if self.completion_dict.has_key(self.jid): # a full qualified jid or a contact name was entered
contact = self.completion_dict[self.jid]