HomePhabricator

efl_ui_widget: fix disabled set behaviour

Authored by Marcel Hollerbach <mail@marcel-hollerbach.de> on Mar 23 2020, 9:12 AM.

Description

efl_ui_widget: fix disabled set behaviour

Summary:
this fixes disabled set behaviour. This ensures that when setting
disabled twice, that unsetting it once does not break the overall state.

This never appeared in any real life example, because
elm_object_disabled_set is already checking for equalness. However, this
is not wanted here, because the simple setter can also be used to sync
the state with the parent, which appears to be helpfull.

Depends on D11550

Reviewers: zmike

Reviewed By: zmike

Subscribers: zmike, cedric, reviewers, committers

Tags: efl

Differential Revision: https://phab.enlightenment.org/D11551

Details

Committed
zmikeMar 23 2020, 9:12 AM
Reviewer
zmike
Differential Revision
D11551: efl_ui_widget: fix disabled set behaviour
Parents
rEFL8e0a7cedc1b8: efl_ui_widget: fix tree_unfocusable setting
Branches
Unknown
Tags
Unknown
zmike committed rEFL151862f50cac: efl_ui_widget: fix disabled set behaviour (authored by Marcel Hollerbach <mail@marcel-hollerbach.de>).Mar 23 2020, 9:12 AM