}
if (ap->mf_Status.view_type != mf_view_root) {
- mf_navi_add_back_button(ap,
- mf_callback_navi_backbutton_clicked_cb);
+ if (!ap->launch_as_ug) {
+ mf_navi_add_back_button(ap,
+ mf_callback_navi_backbutton_clicked_cb);
+ }
}
if (ap->mf_Status.more == MORE_DEFAULT) {
if (ap->mf_Status.view_type == mf_view_root_category) {
- mf_navi_bar_title_content_set(ap, LABEL_MYFILE_CHAP);
+ if (ap->launch_as_ug) {
+ if (ap->mf_Status.category_type == 1) {
+ mf_navi_bar_title_content_set(ap, MF_LABEL_IMAGES);
+ } else if (ap->mf_Status.category_type == 2) {
+ mf_navi_bar_title_content_set(ap, MF_LABEL_VIDEOS);
+ } else {
+ mf_navi_bar_title_content_set(ap, MF_LABEL_AUDIOS);
+ }
+ } else {
+ mf_navi_bar_title_content_set(ap, LABEL_MYFILE_CHAP);
+ }
} else if (ap->mf_Status.view_type == mf_view_recent) {
mf_navi_bar_title_content_set(ap, MF_LABEL_RECTENT_FILES);
} else {
mf_debug("back button cb called");
struct appdata *ap = (struct appdata *) data;
+ if (ap->launch_as_ug) {
+ ui_app_exit();
+ return;
+ }
if (ap->mf_Status.more == MORE_DEFAULT) {
if (ap->mf_Status.entry_path) {
if (ap->mf_Status.entry_more == MORE_SEARCH) {
if (ap->launch_as_ug != EINA_TRUE) {
mf_navi_add_back_button(ap, mf_category_view_navi_back_cb);
+ mf_navi_bar_title_content_set(ap, LABEL_MYFILE_CHAP);
} else {
elm_naviframe_prev_btn_auto_pushed_set(ap->mf_MainWindow.pNaviBar,
EINA_FALSE);
elm_naviframe_item_pop_cb_set(ap->mf_MainWindow.pNaviItem,
- mf_category_view_navi_back_cb, ap);
+ mf_category_view_navi_back_cb, ap);
+ if (ap->mf_Status.category_type == 1) {
+ mf_navi_bar_title_content_set(ap, MF_LABEL_IMAGES);
+ } else if (ap->mf_Status.category_type == 2) {
+ mf_navi_bar_title_content_set(ap, MF_LABEL_VIDEOS);
+ } else {
+ mf_navi_bar_title_content_set(ap, MF_LABEL_AUDIOS);
+ }
}
mf_category_view_set_ctrl_button(ap);
}
}
- //Evas_Object *pathinfo = mf_genlist_create_path_info(ap->mf_MainWindow.pNaviLayout, ap->mf_Status.categorytitle, EINA_FALSE);
- //elm_object_part_content_set(ap->mf_MainWindow.pNaviLayout, "pathinfo", pathinfo);
- //elm_naviframe_item_title_enabled_set(ap->mf_MainWindow.pNaviItem, EINA_FALSE, EINA_FALSE);
- mf_navi_bar_title_content_set(ap, LABEL_MYFILE_CHAP);
ap->mf_Status.flagViewAsRefreshView = EINA_FALSE;
if (ap->mf_Status.more == MORE_EDIT_RENAME) {
elm_naviframe_item_title_enabled_set(ap->mf_MainWindow.pNaviItem,