jaehwan pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=ef3d96ec2b967e936f16e019cf267ab172549223

commit ef3d96ec2b967e936f16e019cf267ab172549223
Author: Jaehwan Kim <jae.hwan....@samsung.com>
Date:   Wed Aug 3 16:55:13 2016 +0900

    import_edj: compare the widget name exactly.
    
    If not, when we want to load button the multibuttonentry is loaded
    with button.
    
    @fix
---
 src/bin/ui/tab_home_import_edj.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/tab_home_import_edj.c b/src/bin/ui/tab_home_import_edj.c
index db76b1a..09a5833 100644
--- a/src/bin/ui/tab_home_import_edj.c
+++ b/src/bin/ui/tab_home_import_edj.c
@@ -713,8 +713,11 @@ _tab_import_edj_data_set(const char *name, const char 
*path, const char *edj, co
           {
              EINA_LIST_FOREACH(node->list, l1, sub)
              {
-                if (strstr(sub->name, widget_name))
+                Eina_Stringshare *wname = widget_name_get(sub->name);
+
+                if (!strcmp(wname, widget_name))
                   _genlist_style_selected_set(sub, style_list, true);
+                eina_stringshare_del(wname);
              }
           }
         else

-- 


Reply via email to