rimmed pushed a commit to branch master.

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

commit 3cefbe5814e6fc3c4adea66da4608641101aa6c1
Author: Vitalii Vorobiov <[email protected]>
Date:   Wed Oct 12 18:45:53 2016 +0300

    tab_home_import_edj: do not show __eflete_internal_group__ on edj import
    
    Fixes T4596
---
 src/bin/ui/tab_home_import_edj.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/src/bin/ui/tab_home_import_edj.c b/src/bin/ui/tab_home_import_edj.c
index e6daafb..4f63eb3 100644
--- a/src/bin/ui/tab_home_import_edj.c
+++ b/src/bin/ui/tab_home_import_edj.c
@@ -209,15 +209,18 @@ _edj_changed_cb(void *data __UNUSED__,
      }
    EINA_LIST_FREE(groups, group)
      {
-        node = mem_calloc(1, sizeof(Node));
-        node->name = eina_stringshare_ref(group->common.name);
-        elm_genlist_item_append(tab_edj.genlist,
-                                itc,
-                                node,
-                                NULL,
-                                ELM_GENLIST_ITEM_NONE,
-                                NULL,
-                                NULL);
+        if (strcmp(group->common.name, EFLETE_INTERNAL_GROUP_NAME))
+          {
+             node = mem_calloc(1, sizeof(Node));
+             node->name = eina_stringshare_ref(group->common.name);
+             elm_genlist_item_append(tab_edj.genlist,
+                                     itc,
+                                     node,
+                                     NULL,
+                                     ELM_GENLIST_ITEM_NONE,
+                                     NULL,
+                                     NULL);
+          }
      }
    edje_file_cache_flush();
    EINA_LIST_FREE(groups_list, group)

-- 


Reply via email to