From aa3c02efcd8f1bb2382ed1c00520a860e80a3f55 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 27 Feb 2008 10:18:56 +0000 Subject: [PATCH] search lowercase in roster. see #3749 --- src/roster_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 661506b57..33ce0564b 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -5340,7 +5340,8 @@ class RosterWindow: self.draw_contact(jid, account, selected = True) def search_roster_func(self, model, column, key, iter): - if model[iter][C_NAME].decode('utf-8').startswith(gobject.markup_escape_text(key)): + if model[iter][C_NAME].decode('utf-8').lower().startswith( + gobject.markup_escape_text(key.lower())): return False return True