Summary:
automatic theme lotation is layout base class property which can be applied
layout based widget classes.
currently it only comparing EFL_UI_LAYOUT_CLASS so layout base inherited class
can not be applied this feature properly.
depends D8434
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8436
Change-Id: Iebbf1da76fc2309f16db7e7eabcca0b82e6fe3d8
EAPI void
elm_object_orientation_mode_disabled_set(Evas_Object *obj, Eina_Bool disabled)
{
- if (efl_isa(obj, EFL_UI_LAYOUT_CLASS))
+ if (efl_isa(obj, EFL_UI_LAYOUT_BASE_CLASS))
{
efl_ui_layout_automatic_theme_rotation_set(obj, disabled);
}
EAPI Eina_Bool
elm_object_orientation_mode_disabled_get(const Evas_Object *obj)
{
- if (efl_isa(obj, EFL_UI_LAYOUT_CLASS))
+ if (efl_isa(obj, EFL_UI_LAYOUT_BASE_CLASS))
{
return efl_ui_layout_automatic_theme_rotation_get(obj);
}