From 7ebdd0e80488703a2d20e653e218e8f496bc21c2 Mon Sep 17 00:00:00 2001 From: Hyungmin Kim Date: Mon, 18 Mar 2013 20:22:11 +0900 Subject: [PATCH] [N_SE-26948], [N_SE-26949], [N_SE-27491] - set as rington bug fix, delete more button when tab changed Change-Id: I16d7b0a5ad849b9cffb4d1defcfb27926ea876a4 --- src/common/mp-util.c | 2 +- src/common/mp-view-manager.c | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/common/mp-util.c b/src/common/mp-util.c index c7158d1..45249ad 100755 --- a/src/common/mp-util.c +++ b/src/common/mp-util.c @@ -987,7 +987,7 @@ mp_util_get_uri_from_app_svc(service_h service, struct appdata *ad, char **path) service_get_uri(service, &uri); if (uri && strlen(uri)) { - if(strstr(path,MP_UTIL_FILE_PREFIX)) + if(strstr(uri,MP_UTIL_FILE_PREFIX)) { *path = g_strdup(uri+strlen(MP_UTIL_FILE_PREFIX)); free(uri); diff --git a/src/common/mp-view-manager.c b/src/common/mp-view-manager.c index 508dd08..feda211 100755 --- a/src/common/mp-view-manager.c +++ b/src/common/mp-view-manager.c @@ -593,7 +593,12 @@ mp_view_manager_set_title_and_buttons(view_data_t * view_data, char *text_ID, vo //destroy back button mp_view_manager_set_back_button(last_history->view_layout, navi_it, NULL, NULL); - elm_object_item_part_content_set(navi_it, "toolbar_more_btn", NULL); + btn = elm_object_item_part_content_get(navi_it, "toolbar_more_btn"); + if(btn) + { + evas_object_del(btn); + elm_object_item_part_content_set(navi_it, "toolbar_more_btn", NULL); + } if (last_history->content_type == MP_VIEW_CONTENT_LIST) { -- 2.7.4