From 1c28dbfae9518ed4c136d4c1406737220729fdcd Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 16 Nov 2009 16:42:40 +0100 Subject: [PATCH] properly decode string in history manager. Fixes #5430 --- src/history_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/history_manager.py b/src/history_manager.py index 9ab638364..5cdac0369 100644 --- a/src/history_manager.py +++ b/src/history_manager.py @@ -610,8 +610,8 @@ class HistoryManager: liststore, list_of_paths)) def on_search_db_button_clicked(self, widget): - text = self.search_entry.get_text() - if text == '': + text = self.search_entry.get_text().decode('utf-8') + if not text: return self.welcome_vbox.hide()