[hamster-applet] decode activity name when doing switch on doubleclick. fixes bug 580741
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Subject: [hamster-applet] decode activity name when doing switch on doubleclick. fixes bug 580741
- Date: Wed, 29 Apr 2009 14:15:43 -0400 (EDT)
commit 85d8e62aff001d1bd2f5d2aa0dfab071813b4eac
Author: Toms Bauģis <toms baugis gmail com>
Date: Wed Apr 29 18:58:14 2009 +0100
decode activity name when doing switch on doubleclick. fixes bug 580741
---
hamster/applet.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hamster/applet.py b/hamster/applet.py
index b6c7716..c1d2e99 100755
--- a/hamster/applet.py
+++ b/hamster/applet.py
@@ -696,7 +696,7 @@ Now, start tracking!
def on_today_row_activated(self, tree, path, column):
selection = tree.get_selection()
(model, iter) = selection.get_selected()
- activity_name = model[iter][1]
+ activity_name = model[iter][1].decode('utf8', 'replace')
if activity_name:
storage.add_fact(activity_name)
dispatcher.dispatch('panel_visible', False)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]