diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2016-05-17 17:14:47 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2016-05-17 17:50:43 +0100 |
commit | 7782c0bcb956263e4b58b9ee5640381fe7b3c4f9 (patch) | |
tree | 42845dcc2450ec2815c320379c83c2017fda4f57 /src/lib/elementary/elm_box.eo | |
parent | f007380fb948f426d04778965ec4d192fe953cc2 (diff) |
eolian: add event_prefix and have classes follow that or eo_prefix by default
Previously events used to use class name as a prefix and ignored eo_prefix
when specified. This is no longer the case. Events follow eo_prefix by default
now. In order to get around this for classes where this is undesirable, a new
field event_prefix was added which takes priority over eo_prefix. If neither
is specified, class name is used like previously.
@feature
Diffstat (limited to 'src/lib/elementary/elm_box.eo')
-rw-r--r-- | src/lib/elementary/elm_box.eo | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_box.eo b/src/lib/elementary/elm_box.eo index 01ddc3b..165662d 100644 --- a/src/lib/elementary/elm_box.eo +++ b/src/lib/elementary/elm_box.eo | |||
@@ -5,6 +5,7 @@ class Elm.Box (Elm.Widget) | |||
5 | { | 5 | { |
6 | legacy_prefix: elm_box; | 6 | legacy_prefix: elm_box; |
7 | eo_prefix: elm_obj_box; | 7 | eo_prefix: elm_obj_box; |
8 | event_prefix: elm_box; | ||
8 | methods { | 9 | methods { |
9 | @property homogeneous { | 10 | @property homogeneous { |
10 | set { | 11 | set { |