Bug 568624: Make overlay search case insensitive

svn path=/trunk/; revision=161
This commit is contained in:
Colin Walters 2009-01-21 22:36:53 +00:00
parent 90bce45ec6
commit ce36eafc2f

View File

@ -81,7 +81,7 @@ Sideshow.prototype = {
if (me._searchQueued)
return;
Mainloop.timeout_add(250, function() {
let text = me._searchEntry.text;
let text = me._searchEntry.text.replace(/\s/g, "");
me._searchQueued = false;
me._searchActive = text != '';
me._appDisplay.setSearch(text);