summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2019-02-25 13:13:21 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2019-02-25 13:13:53 +0900
commita2cfa9340a4650eae965a920788c0edd1141cfe4 (patch)
tree93701bd18756379b1ef9678d6fb5fc83b2be19fc /src
parent12778084d7dd42c5d041c8de24bb08b571fe0541 (diff)
efl_ui_widget: remove "moved" event
Summary: This "moved" event is only used by elm_gengrid now. And it's not something common for all widget classes, because the event is giving notification when the legacy item is reordered. ref T7553 Test Plan: elementary_test "GenGrid" Reviewers: bu5hm4n, YOhoho, Jaehyun_Cho Reviewed By: bu5hm4n, YOhoho Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7553 Differential Revision: https://phab.enlightenment.org/D8005
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_widget.eo1
-rw-r--r--src/lib/elementary/elm_gengrid.c4
-rw-r--r--src/lib/elementary/elm_gengrid.eo1
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_widget.eo b/src/lib/elementary/efl_ui_widget.eo
index 4e7bc806e9..9565c35ad2 100644
--- a/src/lib/elementary/efl_ui_widget.eo
+++ b/src/lib/elementary/efl_ui_widget.eo
@@ -659,7 +659,6 @@ abstract @beta Efl.Ui.Widget extends Efl.Canvas.Group implements Efl.Access.Obje
659 .style @optional; 659 .style @optional;
660 } 660 }
661 events { 661 events {
662 moved: Efl.Object; [[Called when widget moved]]
663 language,changed: void; [[Called when widget language changed]] 662 language,changed: void; [[Called when widget language changed]]
664 access,changed: void; [[Called when accessibility changed]] 663 access,changed: void; [[Called when accessibility changed]]
665 } 664 }
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index bd2bf7b91b..febe0b86c7 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -1315,7 +1315,7 @@ _item_mouse_up_cb(void *data,
1315 (sd->reorder_it)) 1315 (sd->reorder_it))
1316 { 1316 {
1317 efl_event_callback_legacy_call 1317 efl_event_callback_legacy_call
1318 (WIDGET(it), EFL_UI_WIDGET_EVENT_MOVED, EO_OBJ(sd->reorder_it)); 1318 (WIDGET(it), ELM_GENGRID_EVENT_MOVED, EO_OBJ(sd->reorder_it));
1319 sd->reorder_it = NULL; 1319 sd->reorder_it = NULL;
1320 sd->move_effect_enabled = EINA_FALSE; 1320 sd->move_effect_enabled = EINA_FALSE;
1321 ecore_job_del(sd->calc_job); 1321 ecore_job_del(sd->calc_job);
@@ -2876,7 +2876,7 @@ _item_move_cb(void *data, double pos)
2876 efl_event_callback_legacy_call 2876 efl_event_callback_legacy_call
2877 (sd->obj, ELM_GENGRID_EVENT_ITEM_REORDER_ANIM_STOP, EO_OBJ(sd->reorder.it1)); 2877 (sd->obj, ELM_GENGRID_EVENT_ITEM_REORDER_ANIM_STOP, EO_OBJ(sd->reorder.it1));
2878 efl_event_callback_legacy_call 2878 efl_event_callback_legacy_call
2879 (sd->obj, EFL_UI_WIDGET_EVENT_MOVED, EO_OBJ(sd->reorder.it1)); 2879 (sd->obj, ELM_GENGRID_EVENT_MOVED, EO_OBJ(sd->reorder.it1));
2880 sd->reorder.running = EINA_FALSE; 2880 sd->reorder.running = EINA_FALSE;
2881 } 2881 }
2882 _elm_widget_focus_highlight_start(sd->obj); 2882 _elm_widget_focus_highlight_start(sd->obj);
diff --git a/src/lib/elementary/elm_gengrid.eo b/src/lib/elementary/elm_gengrid.eo
index 9907ba2d2d..e397ad4987 100644
--- a/src/lib/elementary/elm_gengrid.eo
+++ b/src/lib/elementary/elm_gengrid.eo
@@ -548,5 +548,6 @@ class Elm.Gengrid extends Efl.Ui.Layout implements Efl.Ui.Focus.Composition, Elm
548 highlighted: Efl.Object; [[Called when gengrid is highlighted]] 548 highlighted: Efl.Object; [[Called when gengrid is highlighted]]
549 unhighlighted: Efl.Object; [[Called when gengrid is no longer highlighted]] 549 unhighlighted: Efl.Object; [[Called when gengrid is no longer highlighted]]
550 released: Efl.Object; [[Called when gengrid is released]] 550 released: Efl.Object; [[Called when gengrid is released]]
551 moved: Efl.Object; [[Called when gengrid item moved]]
551 } 552 }
552} 553}