summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2014-07-21 19:12:47 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-21 19:14:40 +0900
commitd50d855d5f559464f8469dd2ccf9dd514b84f93a (patch)
tree5d80fc9efeb91f6951b5876237838cea027f9f12
parent3f98d71830163a154762f2d16301d720c781b7c5 (diff)
gengrid: corrected the reorder start and end evas smart callback call.
Summary: @fix Reviewers: seoz, raster Reviewed By: raster Subscribers: raster, seoz Differential Revision: https://phab.enlightenment.org/D1143 Conflicts: src/lib/elm_gengrid.c
-rw-r--r--src/lib/elm_gengrid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index eb94d5f03..607d400fd 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -2268,7 +2268,7 @@ _item_move_cb(void *data, double pos)
2268 _free_reorder_normal_data(sd->reorder.data); 2268 _free_reorder_normal_data(sd->reorder.data);
2269 elm_gengrid_item_show((Elm_Object_Item *)sd->reorder.it1, 2269 elm_gengrid_item_show((Elm_Object_Item *)sd->reorder.it1,
2270 ELM_GENGRID_ITEM_SCROLLTO_IN); 2270 ELM_GENGRID_ITEM_SCROLLTO_IN);
2271 evas_object_smart_callback_call(sd->obj, SIG_ITEM_REORDER_START, 2271 evas_object_smart_callback_call(sd->obj, SIG_ITEM_REORDER_STOP,
2272 sd->reorder.it1); 2272 sd->reorder.it1);
2273 sd->reorder.running = EINA_FALSE; 2273 sd->reorder.running = EINA_FALSE;
2274 } 2274 }
@@ -2394,7 +2394,7 @@ _swap_items(Elm_Gen_Item *it1, Elm_Gen_Item *it2, Elm_Focus_Direction dir)
2394 evas_object_raise(VIEW(rnd->corner_item)); 2394 evas_object_raise(VIEW(rnd->corner_item));
2395 } 2395 }
2396 evas_object_raise(VIEW(it1)); 2396 evas_object_raise(VIEW(it1));
2397 evas_object_smart_callback_call(sd->obj, SIG_ITEM_REORDER_STOP, 2397 evas_object_smart_callback_call(sd->obj, SIG_ITEM_REORDER_START,
2398 sd->reorder.it1); 2398 sd->reorder.it1);
2399 //TODO: Add elm config for time 2399 //TODO: Add elm config for time
2400 ecore_animator_timeline_add(0.3, _item_move_cb, sd); 2400 ecore_animator_timeline_add(0.3, _item_move_cb, sd);