properly decode string in history manager. Fixes #5430

This commit is contained in:
Yann Leboulanger 2009-11-16 16:42:40 +01:00
parent b1173a2e87
commit 1c28dbfae9
1 changed files with 2 additions and 2 deletions

View File

@ -610,8 +610,8 @@ class HistoryManager:
liststore, list_of_paths)) liststore, list_of_paths))
def on_search_db_button_clicked(self, widget): def on_search_db_button_clicked(self, widget):
text = self.search_entry.get_text() text = self.search_entry.get_text().decode('utf-8')
if text == '': if not text:
return return
self.welcome_vbox.hide() self.welcome_vbox.hide()