Corrected Display Logic when swip between attach-panel items 97/71297/1
authorChandan <ch.kumar@samsung.com>
Wed, 25 May 2016 03:06:36 +0000 (08:36 +0530)
committerChandan <ch.kumar@samsung.com>
Wed, 25 May 2016 03:06:36 +0000 (08:36 +0530)
Change-Id: If7744b90a5ed9794a243416de7a418dc80c70195
Signed-off-by: Chandan <ch.kumar@samsung.com>
src/gallery-efl.c
src/view/ge-albums.c

index 33208b9..915d1eb 100644 (file)
@@ -725,7 +725,6 @@ static void _ge_message(ui_gadget_h ug, app_control_h msg, app_control_h service
 
                                elm_gengrid_realized_items_update(ugd->thumbs_d->gengrid);
 
-                               ugd->thumbs_d->tot_selected = 0;
                                /*Update Title*/
                                elm_naviframe_item_title_enabled_set(ugd->nf_it, EINA_TRUE, EINA_FALSE);
                                text = g_strdup_printf(pd_selected, ugd->thumbs_d->tot_selected);
index 9edbf84..806352d 100644 (file)
@@ -776,6 +776,9 @@ static void _ge_grid_move_stop_cb(void *data, Evas_Object *obj, void *ei)
        int x, y, w, h;
        int ret;
        elm_scroller_region_get(obj, &x, &y, &w, &h);
+       if (ugd->thumbs_d) {
+               ugd->thumbs_d->tot_selected = 0;
+       }
 
        app_control_h app_control = NULL;
        ret = app_control_create(&app_control);