summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_ctxpopup.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-07 16:13:38 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-08 11:10:56 +0900
commit6864495c993ce38cd0768b98eb41c617b32935e8 (patch)
tree535fd646b472d1d86b4b1f5305055b30fc14c33c /src/lib/elementary/elm_ctxpopup.eo
parentb7840d9177b32f480087bd7f062cc66ab2583485 (diff)
elm: Move elm_layout_sizing_eval to legacy
elm_layout_sizing_eval() marks an object as requiring recalc. Unfortunately, it's been massively abused by various widgets into actually doing the calc, or the min calc. So we end up with one API that has 3 different definitions depending on the widget type: 1. Mark as requiring recalc (correct, respects doc, elm_layout) 2. Calculate min size and other size hints 3. Actually do some geometry modification I believe we need to clarify these 3 requirements into 3 very clear and specific APIs in elementary. Right now we have similar functions in evas for 1 (evas_object_smart_changed) and 3 (smart_calculate). But their exact definition also isn't necessarily what we want for elementary. Another clear problem is that layout_eval does not do any calculation (in theory), so the "eval" word is a bit of a stretch here. Once we're sure about the exact API we want, we can add this back to EO and make it work across our EO widgets. For now let's just keep the legacy API, and its EO overrides, as is. Ref T5315
Diffstat (limited to 'src/lib/elementary/elm_ctxpopup.eo')
-rw-r--r--src/lib/elementary/elm_ctxpopup.eo1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_ctxpopup.eo b/src/lib/elementary/elm_ctxpopup.eo
index e2eff85..dae494b 100644
--- a/src/lib/elementary/elm_ctxpopup.eo
+++ b/src/lib/elementary/elm_ctxpopup.eo
@@ -168,7 +168,6 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action,
168 Efl.Ui.Menu.first_item { get; } 168 Efl.Ui.Menu.first_item { get; }
169 Efl.Ui.Menu.last_item { get; } 169 Efl.Ui.Menu.last_item { get; }
170 Efl.Ui.Menu.items { get; } 170 Efl.Ui.Menu.items { get; }
171 Elm.Layout.sizing_eval;
172 Elm.Interface.Atspi_Widget_Action.elm_actions { get; } 171 Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
173 Elm.Interface.Atspi_Accessible.state_set { get; } 172 Elm.Interface.Atspi_Accessible.state_set { get; }
174 Efl.Orientation.orientation { get; set; } 173 Efl.Orientation.orientation { get; set; }