[gnome-characters] menu: Adjust to the last change to font filter
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters] menu: Adjust to the last change to font filter
- Date: Sun, 15 Feb 2015 11:49:34 +0000 (UTC)
commit 6c1f81436e3b6df594dbed1ff514546463552083
Author: Daiki Ueno <dueno src gnome org>
Date: Sun Feb 15 20:48:56 2015 +0900
menu: Adjust to the last change to font filter
src/menu.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/menu.js b/src/menu.js
index bb5c21e..2d7b58b 100644
--- a/src/menu.js
+++ b/src/menu.js
@@ -89,8 +89,7 @@ const MenuPopover = new Lang.Class({
if (row._family == 'None')
return true;
- let name = row._family.get_name();
- let nameWords = name.split(/\s+/).map(String.toLowerCase);
+ let nameWords = row._family.split(/\s+/).map(String.toLowerCase);
return this._keywords.some(function(keyword, index, array) {
return nameWords.some(function(nameWord, index, array) {
return nameWord.indexOf(keyword) >= 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]