path: root/src/lib/emotion
diff options
authorDaniel Kolesa <>2016-05-17 17:14:47 +0100
committerDaniel Kolesa <>2016-05-17 17:50:43 +0100
commit7782c0bcb956263e4b58b9ee5640381fe7b3c4f9 (patch)
tree42845dcc2450ec2815c320379c83c2017fda4f57 /src/lib/emotion
parentf007380fb948f426d04778965ec4d192fe953cc2 (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/emotion')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/emotion/emotion_object.eo b/src/lib/emotion/emotion_object.eo
index c6abdb8ef3..b449492754 100644
--- a/src/lib/emotion/emotion_object.eo
+++ b/src/lib/emotion/emotion_object.eo
@@ -1,6 +1,7 @@
1class Emotion.Object (Evas.Object.Smart, Efl.File, Efl.Player, Efl.Image, Efl.Image.Load) { 1class Emotion.Object (Evas.Object.Smart, Efl.File, Efl.Player, Efl.Image, Efl.Image.Load) {
2 legacy_prefix: emotion_object; 2 legacy_prefix: emotion_object;
3 eo_prefix: emotion_obj; 3 eo_prefix: emotion_obj;
4 event_prefix: emotion_object;
4 methods { 5 methods {
5 @property option { 6 @property option {
6 set { 7 set {