__mf_popup_listby_gl_style_set(ap, popupMode);
genlist = elm_genlist_add(popup);
- //elm_genlist_homogeneous_set(genlist, EINA_TRUE);
+ elm_object_style_set(popup, "theme_bg");
elm_object_focus_set(genlist, EINA_FALSE);
evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
}
box = __mf_popup_box_set(popup, genlist, 2);
- //elm_object_part_content_set(layout, "elm.swallow.content" , box);
elm_object_content_set(popup, box);
evas_object_smart_callback_add(popup, "response", func, param);
evas_object_smart_callback_add(popup, "block,clicked", (Evas_Smart_Cb)__mf_popup_block_clicked_cb, NULL);
+ break;
+
default:
break;
}
evas_object_show(popup);
evas_object_event_callback_add(popup, EVAS_CALLBACK_DEL, __mf_popup_normal_del_cb, ap);
- if (func && (func == mf_callback_illegal_char_popup_cb || func == mf_popup_show_vk_cb)) {//Fixed P131031-00367, there is the side effect, only when the focus issue,will call the func whck back key.
- //Fixed the bug(P131011-02665), when pressing the back, no focus at the entry.
+ if (func && (func == mf_callback_illegal_char_popup_cb || func == mf_popup_show_vk_cb)) {
eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, func, param);
} else {
eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, eext_popup_back_cb, NULL);