changeset 4be0d97473e1 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=4be0d97473e1
description: Fixed bug when national character (non-ASCII) was entered which 
search string in ACE (comparison with descriptions, which are unicode, was not 
possible). It seems that this was Win32 specific (tested on Vista64).

diffstat:

 src/advanced.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f04d5e7ebfb1 -r 4be0d97473e1 src/advanced.py
--- a/src/advanced.py   Sun Jun 28 16:01:43 2009 +0200
+++ b/src/advanced.py   Mon Jun 29 06:31:36 2009 +0200
@@ -267,7 +267,7 @@
                                self.model.append(parent, [name, value, type_])
 
        def visible_func(self, model, treeiter):
-               search_string  = self.entry.get_text().lower()
+               search_string  = self.entry.get_text().decode('utf-8').lower()
                for it in tree_model_pre_order(model,treeiter):
                        if model[it][C_TYPE] != '':
                                opt_path = self.get_option_path(model, it)
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to