[hamster-applet] while hunting for one utf-8 bug, caught another, hehe



commit bfb3be9b84ab7d3e336dc7b9daa96c2f1f20ef4c
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue Jun 16 21:01:21 2009 +0100

    while hunting for one utf-8 bug, caught another, hehe

 hamster/preferences.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/hamster/preferences.py b/hamster/preferences.py
index b0c1364..14a95e6 100755
--- a/hamster/preferences.py
+++ b/hamster/preferences.py
@@ -322,7 +322,7 @@ class PreferencesEditor:
             id = storage.add_category(new_text.decode("utf-8"))
             model[path][0] = id
         else:
-            storage.update_category(id, new_text)
+            storage.update_category(id, new_text.decode("utf-8"))
 
         model[path][1] = new_text
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]