summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Czerski <r.czerski@samsung.com>2016-02-01 09:15:05 +0100
committerLukasz Stanislawski <l.stanislaws@samsung.com>2016-02-03 06:31:00 -0800
commit849863925dba81c3cec2708f37525fd167e94aaf (patch)
tree782c3d4c36aedf893b42278abf3be605ee660742
parent7f30b34f396d0ef4886a22db79f5fc1fc38a9160 (diff)
downloadshare-panel-849863925dba81c3cec2708f37525fd167e94aaf.tar.gz
share-panel-849863925dba81c3cec2708f37525fd167e94aaf.tar.bz2
share-panel-849863925dba81c3cec2708f37525fd167e94aaf.zip
Bug containing code have been commented out.
Code not removed due to app UI guide relation. Change-Id: I912e62f5b59f832202a62b3291b5d64f76ca1686 Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
-rw-r--r--src/grid.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/grid.c b/src/grid.c
index 4f7387f..8976748 100644
--- a/src/grid.c
+++ b/src/grid.c
@@ -145,7 +145,9 @@ static void __item_selected(void *data, Evas_Object *obj, void *event_info)
{
_D("__item_selected");
item_s *item_info = (item_s *) data;
- Elm_Object_Item *selected_item = NULL;
+
+// See explanation in another comment below
+// Elm_Object_Item *selected_item = NULL;
int ret = 0;
@@ -154,9 +156,12 @@ static void __item_selected(void *data, Evas_Object *obj, void *event_info)
ret_if(!item_info->share_panel);
_D("item clicked, launch app : %s", item_info->appid);
- selected_item = elm_gengrid_selected_item_get(obj);
- ret_if(!selected_item);
- elm_gengrid_item_selected_set(selected_item, EINA_FALSE);
+// TODO
+// Temporary commented to avoid double invoke. This is a bug. JIRA issue have been raised.
+//
+// selected_item = elm_gengrid_selected_item_get(obj);
+// ret_if(!selected_item);
+// elm_gengrid_item_selected_set(selected_item, EINA_FALSE);
ret = _app_control_launch(item_info);