+ug-setting-wifidirect-efl (1.0.11) precise; urgency=low
+
+ * Fix bug N_SE-29625, N_SE-30229, N_SE-30234
+ * Git: rsa/apps/home/ug-wifi-direct
+ * Tag: libug-setting-wifidirect-efl_1.0.11
+
+ -- Gibyoung Kim <laskgb.kim@samsung.com> Tur, 28 Mar 2013 12:25:01 +0900
+
ug-setting-wifidirect-efl (1.0.10) precise; urgency=low
* Update for SR
}
/**
+ * This function let the ug call it when click genlist item
+ * @return void
+ * @param[in] data the pointer to the main data structure
+ * @param[in] obj the pointer to the evas object
+ * @param[in] event_info the pointer to the event information
+ */
+static void _gl_item_sel(void *data, Evas_Object *obj, void *event_info)
+{
+ __WDUG_LOG_FUNC_ENTER__;
+ if (NULL == data) {
+ WDUG_LOGE("Incorrect parameter(NULL)\n");
+ __WDUG_LOG_FUNC_EXIT__;
+ return;
+ }
+
+ struct ug_data *ugd = (struct ug_data *) data;
+ Elm_Object_Item *item = (Elm_Object_Item *)event_info;
+
+ if (item != NULL) {
+ elm_genlist_item_selected_set(item, EINA_FALSE);
+ }
+
+ __WDUG_LOG_FUNC_EXIT__;
+}
+
+/**
* This function let the ug call it when click avaliable peer to connect
* @return void
* @param[in] data the pointer to the main data structure
ugd->wfd_status == WIFI_DIRECT_STATE_CONNECTING) {
ugd->multi_button_sep_item = wfd_add_dialogue_separator(ugd->genlist, "dialogue/separator");
ugd->multi_button_item = elm_genlist_item_append(ugd->genlist, &button_itc, ugd, NULL,
- ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ ELM_GENLIST_ITEM_NONE, _gl_item_sel, (void *)ugd);
}
} else {
if (ugd->gl_available_peer_cnt > 1 ||
ugd->wfd_status == WIFI_DIRECT_STATE_CONNECTING) {
ugd->multi_button_sep_item = wfd_add_dialogue_separator(ugd->genlist, "dialogue/separator");
ugd->multi_button_item = elm_genlist_item_append(ugd->genlist, &button_itc, ugd, NULL,
- ELM_GENLIST_ITEM_NONE, NULL, NULL);
+ ELM_GENLIST_ITEM_NONE, _gl_item_sel, (void *)ugd);
}
}