projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a7d6d
)
elm_test: Also filter categories when typing in search bar
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Mon, 19 Dec 2016 04:24:12 +0000
(13:24 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Tue, 20 Dec 2016 00:42:51 +0000
(09:42 +0900)
src/bin/elementary/test.c
patch
|
blob
|
history
diff --git
a/src/bin/elementary/test.c
b/src/bin/elementary/test.c
index
0eb861d
..
22209ec
100644
(file)
--- a/
src/bin/elementary/test.c
+++ b/
src/bin/elementary/test.c
@@
-391,7
+391,9
@@
_menu_create(const char *option_str)
_clear_menu();
EINA_LIST_FOREACH(tests, l, t)
{
- if (option_str && !strcasestr(t->name, option_str)) continue;
+ if (option_str &&
+ !(strcasestr(t->name, option_str) || strcasestr(t->category, option_str)))
+ continue;
if ((!pcat) || (strcmp(pcat, t->category)))
{
if (t->frame)