From 7024e6f03f89f44057c4513a947be728b064d453 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 5 Sep 2019 14:06:15 +0200 Subject: [PATCH] efl_ui_collection: update theme name item_container was the wrong name here. this fixes this to use the correct name in the theme. Additionally the file name in the file is adjusted. Reviewed-by: SangHyeon Jade Lee Differential Revision: https://phab.enlightenment.org/D9849 --- data/elementary/themes/default.edc | 2 +- .../themes/edc/efl/{item_container.edc => collection.edc} | 2 +- src/lib/elementary/efl_ui_collection.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename data/elementary/themes/edc/efl/{item_container.edc => collection.edc} (50%) diff --git a/data/elementary/themes/default.edc b/data/elementary/themes/default.edc index 2d73fb2685..26c0270ab2 100644 --- a/data/elementary/themes/default.edc +++ b/data/elementary/themes/default.edc @@ -207,6 +207,6 @@ collections { #include "edc/efl/tab_pager.edc" #include "edc/efl/tab_bar.edc" #include "edc/efl/tab_page.edc" -#include "edc/efl/item_container.edc" +#include "edc/efl/collection.edc" #include "edc/efl/group_item.edc" } diff --git a/data/elementary/themes/edc/efl/item_container.edc b/data/elementary/themes/edc/efl/collection.edc similarity index 50% rename from data/elementary/themes/edc/efl/item_container.edc rename to data/elementary/themes/edc/efl/collection.edc index 9980349612..d74981dbb2 100644 --- a/data/elementary/themes/edc/efl/item_container.edc +++ b/data/elementary/themes/edc/efl/collection.edc @@ -1,3 +1,3 @@ -group { "efl/item_container"; +group { "efl/collection"; inherit: "efl/scroller"; } diff --git a/src/lib/elementary/efl_ui_collection.c b/src/lib/elementary/efl_ui_collection.c index 2922c4b7cb..32811bc001 100644 --- a/src/lib/elementary/efl_ui_collection.c +++ b/src/lib/elementary/efl_ui_collection.c @@ -366,7 +366,7 @@ _efl_ui_collection_efl_object_constructor(Eo *obj, Efl_Ui_Collection_Data *pd EI _fast_accessor_init(&pd->size_accessor, &pd->items); if (!elm_widget_theme_klass_get(obj)) - elm_widget_theme_klass_set(obj, "item_container"); + elm_widget_theme_klass_set(obj, "collection"); o = efl_constructor(efl_super(obj, MY_CLASS));