summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-10-10 15:27:12 +0900
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-10-10 16:54:40 +0900
commit57652c12f6a06245f96e18e8bffe83b1cbdd6d9f (patch)
treed43359940c967b43e7e112d3ecd53b50d5db7550 /src/lib/elementary
parentd9595d840d91e545b0deaf4a898b16b8ab3b46e6 (diff)
elm: fix legacy callback names.
Summary: this patch is fix of D10240. there are few mischanges on callback names, so fix it orginal legacy names, SCROLL_CHANGED = "scroll" SCROLL_ANIM_START = "scroll,anim,start" SCROLL_ANIM_STOP = "scroll,anim,stop" SCROLL_DRAG_START = "scroll,drag,start" SCROLL_DRAG_STOP = "scroll,drag,stop" Reviewers: bu5hm4n, eagleeye, akanad Reviewed By: eagleeye Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10332
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_gengrid.c10
-rw-r--r--src/lib/elementary/elm_genlist.c10
-rw-r--r--src/lib/elementary/elm_map.c8
-rw-r--r--src/lib/elementary/elm_scroller.c8
-rw-r--r--src/lib/elementary/elm_toolbar.c8
5 files changed, 22 insertions, 22 deletions
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index a162fb7..f30dfe6 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -3714,28 +3714,28 @@ static void
3714_scroll_animate_start_cb(Evas_Object *obj, 3714_scroll_animate_start_cb(Evas_Object *obj,
3715 void *data EINA_UNUSED) 3715 void *data EINA_UNUSED)
3716{ 3716{
3717 evas_object_smart_callback_call(obj, "anim,start", NULL); 3717 evas_object_smart_callback_call(obj, "scroll,anim,start", NULL);
3718} 3718}
3719 3719
3720static void 3720static void
3721_scroll_animate_stop_cb(Evas_Object *obj, 3721_scroll_animate_stop_cb(Evas_Object *obj,
3722 void *data EINA_UNUSED) 3722 void *data EINA_UNUSED)
3723{ 3723{
3724 evas_object_smart_callback_call(obj, "anim,stop", NULL); 3724 evas_object_smart_callback_call(obj, "scroll,anim,stop", NULL);
3725} 3725}
3726 3726
3727static void 3727static void
3728_scroll_drag_start_cb(Evas_Object *obj, 3728_scroll_drag_start_cb(Evas_Object *obj,
3729 void *data EINA_UNUSED) 3729 void *data EINA_UNUSED)
3730{ 3730{
3731 evas_object_smart_callback_call(obj, "drag,start", NULL); 3731 evas_object_smart_callback_call(obj, "scroll,drag,start", NULL);
3732} 3732}
3733 3733
3734static void 3734static void
3735_scroll_drag_stop_cb(Evas_Object *obj, 3735_scroll_drag_stop_cb(Evas_Object *obj,
3736 void *data EINA_UNUSED) 3736 void *data EINA_UNUSED)
3737{ 3737{
3738 evas_object_smart_callback_call(obj, "drag,stop", NULL); 3738 evas_object_smart_callback_call(obj, "scroll,drag,stop", NULL);
3739} 3739}
3740 3740
3741static void 3741static void
@@ -3777,7 +3777,7 @@ static void
3777_scroll_cb(Evas_Object *obj, 3777_scroll_cb(Evas_Object *obj,
3778 void *data EINA_UNUSED) 3778 void *data EINA_UNUSED)
3779{ 3779{
3780 evas_object_smart_callback_call(obj, "changed", NULL); 3780 evas_object_smart_callback_call(obj, "scroll", NULL);
3781} 3781}
3782 3782
3783static int 3783static int
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 1c0864e..182de48 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -5541,35 +5541,35 @@ static void
5541_scroll_animate_start_cb(Evas_Object *obj, 5541_scroll_animate_start_cb(Evas_Object *obj,
5542 void *data EINA_UNUSED) 5542 void *data EINA_UNUSED)
5543{ 5543{
5544 evas_object_smart_callback_call(obj, "anim,start", NULL); 5544 evas_object_smart_callback_call(obj, "scroll,anim,start", NULL);
5545} 5545}
5546 5546
5547static void 5547static void
5548_scroll_animate_stop_cb(Evas_Object *obj, 5548_scroll_animate_stop_cb(Evas_Object *obj,
5549 void *data EINA_UNUSED) 5549 void *data EINA_UNUSED)
5550{ 5550{
5551 evas_object_smart_callback_call(obj, "anim,stop", NULL); 5551 evas_object_smart_callback_call(obj, "scroll,anim,stop", NULL);
5552} 5552}
5553 5553
5554static void 5554static void
5555_scroll_drag_start_cb(Evas_Object *obj, 5555_scroll_drag_start_cb(Evas_Object *obj,
5556 void *data EINA_UNUSED) 5556 void *data EINA_UNUSED)
5557{ 5557{
5558 evas_object_smart_callback_call(obj, "drag,start", NULL); 5558 evas_object_smart_callback_call(obj, "scroll,drag,start", NULL);
5559} 5559}
5560 5560
5561static void 5561static void
5562_scroll_cb(Evas_Object *obj, 5562_scroll_cb(Evas_Object *obj,
5563 void *data EINA_UNUSED) 5563 void *data EINA_UNUSED)
5564{ 5564{
5565 evas_object_smart_callback_call(obj, "changed", NULL); 5565 evas_object_smart_callback_call(obj, "scroll", NULL);
5566} 5566}
5567 5567
5568static void 5568static void
5569_scroll_drag_stop_cb(Evas_Object *obj, 5569_scroll_drag_stop_cb(Evas_Object *obj,
5570 void *data EINA_UNUSED) 5570 void *data EINA_UNUSED)
5571{ 5571{
5572 evas_object_smart_callback_call(obj, "drag,stop", NULL); 5572 evas_object_smart_callback_call(obj, "scroll,drag,stop", NULL);
5573} 5573}
5574 5574
5575static void 5575static void
diff --git a/src/lib/elementary/elm_map.c b/src/lib/elementary/elm_map.c
index ea509c8..4549f7c 100644
--- a/src/lib/elementary/elm_map.c
+++ b/src/lib/elementary/elm_map.c
@@ -1307,7 +1307,7 @@ _scr_timeout_cb(void *data)
1307 1307
1308 _smooth_update(sd); 1308 _smooth_update(sd);
1309 sd->scr_timer = NULL; 1309 sd->scr_timer = NULL;
1310 evas_object_smart_callback_call(sd->obj, "drag,stop", NULL); 1310 evas_object_smart_callback_call(sd->obj, "scroll,drag,stop", NULL);
1311 1311
1312 return ECORE_CALLBACK_CANCEL; 1312 return ECORE_CALLBACK_CANCEL;
1313} 1313}
@@ -1320,7 +1320,7 @@ _scroll_cb(Evas_Object *obj,
1320 1320
1321 if (sd->scr_timer) ecore_timer_del(sd->scr_timer); 1321 if (sd->scr_timer) ecore_timer_del(sd->scr_timer);
1322 else 1322 else
1323 evas_object_smart_callback_call(sd->obj, "drag,stop", NULL); 1323 evas_object_smart_callback_call(sd->obj, "scroll,drag,start", NULL);
1324 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del); 1324 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del);
1325 sd->scr_timer = ecore_timer_add(0.25, _scr_timeout_cb, obj); 1325 sd->scr_timer = ecore_timer_add(0.25, _scr_timeout_cb, obj);
1326 evas_object_smart_callback_call(sd->obj, "scroll", NULL); 1326 evas_object_smart_callback_call(sd->obj, "scroll", NULL);
@@ -1332,7 +1332,7 @@ _scroll_animate_start_cb(Evas_Object *obj,
1332{ 1332{
1333 ELM_MAP_DATA_GET(obj, sd); 1333 ELM_MAP_DATA_GET(obj, sd);
1334 1334
1335 evas_object_smart_callback_call(sd->obj, "anim,start", NULL); 1335 evas_object_smart_callback_call(sd->obj, "scroll,anim,start", NULL);
1336} 1336}
1337 1337
1338static void 1338static void
@@ -1341,7 +1341,7 @@ _scroll_animate_stop_cb(Evas_Object *obj,
1341{ 1341{
1342 ELM_MAP_DATA_GET(obj, sd); 1342 ELM_MAP_DATA_GET(obj, sd);
1343 1343
1344 evas_object_smart_callback_call(sd->obj, "anim,stop", NULL); 1344 evas_object_smart_callback_call(sd->obj, "scroll,anim,stop", NULL);
1345} 1345}
1346 1346
1347static Eina_Bool 1347static Eina_Bool
diff --git a/src/lib/elementary/elm_scroller.c b/src/lib/elementary/elm_scroller.c
index 630e900..5f47874 100644
--- a/src/lib/elementary/elm_scroller.c
+++ b/src/lib/elementary/elm_scroller.c
@@ -522,21 +522,21 @@ static void
522_scroll_anim_start_cb(Evas_Object *obj, 522_scroll_anim_start_cb(Evas_Object *obj,
523 void *data EINA_UNUSED) 523 void *data EINA_UNUSED)
524{ 524{
525 evas_object_smart_callback_call(obj, "anim,start", NULL); 525 evas_object_smart_callback_call(obj, "scroll,anim,start", NULL);
526} 526}
527 527
528static void 528static void
529_scroll_anim_stop_cb(Evas_Object *obj, 529_scroll_anim_stop_cb(Evas_Object *obj,
530 void *data EINA_UNUSED) 530 void *data EINA_UNUSED)
531{ 531{
532 evas_object_smart_callback_call(obj, "anim,stop", NULL); 532 evas_object_smart_callback_call(obj, "scroll,anim,stop", NULL);
533} 533}
534 534
535static void 535static void
536_scroll_drag_start_cb(Evas_Object *obj, 536_scroll_drag_start_cb(Evas_Object *obj,
537 void *data EINA_UNUSED) 537 void *data EINA_UNUSED)
538{ 538{
539 evas_object_smart_callback_call(obj, "drag,start", NULL); 539 evas_object_smart_callback_call(obj, "scroll,drag,start", NULL);
540} 540}
541 541
542 542
@@ -544,7 +544,7 @@ static void
544_scroll_drag_stop_cb(Evas_Object *obj, 544_scroll_drag_stop_cb(Evas_Object *obj,
545 void *data EINA_UNUSED) 545 void *data EINA_UNUSED)
546{ 546{
547 evas_object_smart_callback_call(obj, "drag,stop", NULL); 547 evas_object_smart_callback_call(obj, "scroll,drag,stop", NULL);
548} 548}
549 549
550static void 550static void
diff --git a/src/lib/elementary/elm_toolbar.c b/src/lib/elementary/elm_toolbar.c
index dd15fa9..273fb25 100644
--- a/src/lib/elementary/elm_toolbar.c
+++ b/src/lib/elementary/elm_toolbar.c
@@ -2242,14 +2242,14 @@ static void
2242_scroll_anim_start_cb(Evas_Object *obj, 2242_scroll_anim_start_cb(Evas_Object *obj,
2243 void *data EINA_UNUSED) 2243 void *data EINA_UNUSED)
2244{ 2244{
2245 evas_object_smart_callback_call(obj, "anim,start", NULL); 2245 evas_object_smart_callback_call(obj, "scroll,anim,start", NULL);
2246} 2246}
2247 2247
2248static void 2248static void
2249_scroll_anim_stop_cb(Evas_Object *obj, 2249_scroll_anim_stop_cb(Evas_Object *obj,
2250 void *data EINA_UNUSED) 2250 void *data EINA_UNUSED)
2251{ 2251{
2252 evas_object_smart_callback_call(obj, "anim,stop", NULL); 2252 evas_object_smart_callback_call(obj, "scroll,anim,stop", NULL);
2253} 2253}
2254 2254
2255static void 2255static void
@@ -2259,14 +2259,14 @@ _scroll_drag_start_cb(Evas_Object *obj,
2259 ELM_TOOLBAR_DATA_GET(obj, sd); 2259 ELM_TOOLBAR_DATA_GET(obj, sd);
2260 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del); 2260 ELM_SAFE_FREE(sd->long_timer, ecore_timer_del);
2261 2261
2262 evas_object_smart_callback_call(obj, "drag,start", NULL); 2262 evas_object_smart_callback_call(obj, "scroll,drag,start", NULL);
2263} 2263}
2264 2264
2265static void 2265static void
2266_scroll_drag_stop_cb(Evas_Object *obj, 2266_scroll_drag_stop_cb(Evas_Object *obj,
2267 void *data EINA_UNUSED) 2267 void *data EINA_UNUSED)
2268{ 2268{
2269 evas_object_smart_callback_call(obj, "drag,stop", NULL); 2269 evas_object_smart_callback_call(obj, "scroll,drag,stop", NULL);
2270} 2270}
2271 2271
2272static void 2272static void