HomePhabricator

widget: Rename hook "disable" (EO)

Authored by Jean-Philippe Andre <jp.andre@samsung.com> on Aug 23 2017, 10:06 PM.

Description

widget: Rename hook "disable" (EO)

Renamed to on_disabled_update.
Also passed in the new state of disabled. It's more convenient this way,
than having the subclasses call disabled_get.

Also simplify some code...

Ref T5363

Details

Jean-Philippe Andre <jp.andre@samsung.com> committed rEFL6aa309ffb80a: widget: Rename hook "disable" (EO) (authored by Jean-Philippe Andre <jp.andre@samsung.com>).Aug 28 2017, 6:40 PM