theme: use theme_file if provided

Fixed theme ui
This commit is contained in:
Boris Faure 2020-10-18 23:16:36 +02:00
parent 93da3f87b7
commit 1f6bfe3323
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 2 additions and 2 deletions

View File

@ -72,14 +72,14 @@ theme_apply(Evas_Object *obj,
{
edje = elm_layout_edje_get(obj);
if (elm_layout_file_set(obj, config_theme_path_get(config), group))
if (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, config_theme_path_get(config), group))
if (edje_object_file_set(edje, theme_path, group))
goto done;
if (edje_object_file_set(edje, theme_path_default_get(), group))
goto done;