Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webtoolbar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index c24aa87..28bc015 100644
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -121,7 +121,8 @@ class WebEntry(iconentry.IconEntry):
def _search_update(self):
list_store = Gtk.ListStore(str, str)
- for place in places.get_store().search(self.props.text):
+ search_text = self.props.text.decode('utf-8')
+ for place in places.get_store().search(search_text):
list_store.append([place.uri, place.title])
self._search_view.set_model(list_store)