*
*/
+#include <efl_assist.h>
+
#include "mh_common_utility.h"
#include "mobile_hotspot.h"
+//#define SK_BACK_SUPPORT
static mh_popup_type_e popup_type = MH_POPUP_NONE;
static Evas_Object *popup_content = NULL;
static char *popup_string = NULL;
evas_object_smart_callback_add(btn, "clicked",
__popup_resp_no, (void *)ad);
+#ifndef SK_BACK_SUPPORT
+ ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
+ __popup_resp_no, (void *)ad);
+#endif
+
evas_object_show(ad->popup);
break;
evas_object_smart_callback_add(btn, "clicked",
__popup_resp_no, (void *)ad);
+#ifndef SK_BACK_SUPPORT
+ ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
+ __popup_resp_no, (void *)ad);
+#endif
+
evas_object_show(ad->popup);
break;
evas_object_smart_callback_add(btn, "clicked",
__one_btn_popup_resp, (void *)ad);
+#ifndef SK_BACK_SUPPORT
+ ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
+ __one_btn_popup_resp, (void *)ad);
+#endif
+
evas_object_show(ad->popup);
break;
evas_object_smart_callback_add(btn, "clicked",
__popup_resp_no, (void *)ad);
+#ifndef SK_BACK_SUPPORT
+ ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
+ __popup_resp_no, (void *)ad);
+#endif
+
evas_object_show(ad->popup);
break;
evas_object_smart_callback_add(btn, "clicked",
__popup_resp_no, (void *)ad);
+#ifndef SK_BACK_SUPPORT
+ ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
+ __popup_resp_no, (void *)ad);
+#endif
+
evas_object_show(ad->popup);
break;
evas_object_smart_callback_add(btn, "clicked",
__one_btn_popup_resp, (void *)ad);
+#ifndef SK_BACK_SUPPORT
+ ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
+ __one_btn_popup_resp, (void *)ad);
+#endif
+
evas_object_show(ad->popup);
break;
evas_object_smart_callback_add(ad->popup, "block,clicked",
__alert_popup_resp, (void *)ad);
+#ifndef SK_BACK_SUPPORT
+ ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
+ __alert_popup_resp, (void *)ad);
+#endif
evas_object_show(ad->popup);
break;
evas_object_smart_callback_add(btn, "clicked",
__popup_resp_no, (void *)ad);
+#ifndef SK_BACK_SUPPORT
+ ea_object_event_callback_add(ad->popup, EA_CALLBACK_BACK,
+ __popup_resp_no, (void *)ad);
+#endif
+
evas_object_show(ad->popup);
break;
default:
elm_access_object_unregister(label);
return label;
-}
\ No newline at end of file
+}
*/
#include <time.h>
+#include <efl_assist.h>
+
#include "mh_view_main.h"
+// #define SK_BACK_SUPPORT
+
static void _gl_device_item_sel(void *data, Evas_Object *obj, void *event_info);
static void _gl_exp(void *data, Evas_Object *obj, void *event_info);
static void _gl_con(void *data, Evas_Object *obj, void *event_info);
void ap_draw_contents(mh_appdata_t *ad)
{
__MOBILE_AP_FUNC_ENTER__;
-
+#ifdef SK_BACK_SUPPORT
__create_inner_contents(ad);
ad->main.back_btn = elm_button_add(ad->naviframe);
elm_naviframe_item_push(ad->naviframe,
_("IDS_MOBILEAP_BODY_TETHERING"),
ad->main.back_btn, NULL, ad->main.genlist, NULL);
+#else
+ Elm_Object_Item *navi_item;
+
+ __create_inner_contents(ad);
+
+ ea_object_event_callback_add(ad->naviframe, EA_CALLBACK_BACK, ea_naviframe_back_cb, NULL);
+
+ navi_item = elm_naviframe_item_push(ad->naviframe,
+ _("IDS_MOBILEAP_BODY_TETHERING"),
+ ad->main.back_btn, NULL, ad->main.genlist, NULL);
+ elm_naviframe_item_pop_cb_set(navi_item, __back_btn_cb, (void *)ad);
+#endif
__MOBILE_AP_FUNC_EXIT__;
return;
}
#include <notification.h>
#include "mh_view_wifi_setup.h"
+//#define SK_BACK_SUPPORT
static void __back_btn_cb(void *data, Evas_Object *obj, void *event_info);
static void __gl_realized(void *data, Evas_Object *obj, void *event_info);
elm_object_focus_allow_set(st->back_btn, EINA_FALSE);
st->navi_it = elm_naviframe_item_push(ad->naviframe,
- NULL,
+ _("IDS_MOBILEAP_MBODY_WI_FI_TETHERING_SETTINGS"),
st->back_btn, NULL, st->genlist, NULL);
+#ifndef SK_BACK_SUPPORT
+ elm_naviframe_item_pop_cb_set(st->navi_it, __back_btn_cb, (void *)ad);
+#endif
+
/* Slide title */
label = _create_slide_title(ad->naviframe, _("IDS_MOBILEAP_MBODY_WI_FI_TETHERING_SETTINGS"));
+
elm_object_item_part_content_set(st->navi_it, "elm.swallow.title", label);
evas_object_smart_callback_add(ad->naviframe, "title,clicked", __title_clicked_cb, NULL);