Summary:
When _elm_theme_set() failed to set given style, it sets style
as "default".
However, setting style to "default" can be unintended behavior,
so developer should have the chance to get to know fallback.
Reviewers: cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D3352
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
file = _elm_theme_group_file_find(th, buf2);
if (file)
{
- if (edje_object_mmap_set(o, file, buf2)) return EINA_TRUE;
+ if (edje_object_mmap_set(o, file, buf2))
+ {
+ DBG("could not set theme style '%s', fallback to default",
+ style);
+ return EINA_TRUE;
+ }
else
{
DBG("could not set theme group '%s' from file '%s': %s",