jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6989642221706a92cdfed2bd34d5f409ff00642b

commit 6989642221706a92cdfed2bd34d5f409ff00642b
Author: Jean-Philippe Andre <[email protected]>
Date:   Mon Dec 19 13:24:12 2016 +0900

    elm_test: Also filter categories when typing in search bar
---
 src/bin/elementary/test.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index 0eb861d..22209ec 100644
--- 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)

-- 


Reply via email to