search lowercase in roster. see #3749
This commit is contained in:
parent
e0a4ab05b4
commit
aa3c02efcd
|
@ -5340,7 +5340,8 @@ class RosterWindow:
|
||||||
self.draw_contact(jid, account, selected = True)
|
self.draw_contact(jid, account, selected = True)
|
||||||
|
|
||||||
def search_roster_func(self, model, column, key, iter):
|
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 False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue