billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=71f54ad7d6ff5bcdbf182a822b3d325b7f0c48bd
commit 71f54ad7d6ff5bcdbf182a822b3d325b7f0c48bd Author: Boris Faure <[email protected]> Date: Thu Nov 26 22:50:37 2020 +0100 theme: ensure group exists in file before using it --- src/bin/theme.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/theme.c b/src/bin/theme.c index d8aa1d5..43adeec 100644 --- a/src/bin/theme.c +++ b/src/bin/theme.c @@ -72,14 +72,16 @@ theme_apply(Evas_Object *obj, { edje = elm_layout_edje_get(obj); - if (elm_layout_file_set(obj, theme_path, group)) + if ((edje_file_group_exists(theme_path, group) == EINA_TRUE) && + (elm_layout_file_set(obj, theme_path, group))) goto done; if (elm_layout_file_set(obj, theme_path_default_get(), group)) goto done; } else { - if (edje_object_file_set(edje, theme_path, group)) + if ((edje_file_group_exists(theme_path, group) == EINA_TRUE) && + (edje_object_file_set(edje, theme_path, group))) goto done; if (edje_object_file_set(edje, theme_path_default_get(), group)) goto done; --
