Change-Id: I16d7b0a5ad849b9cffb4d1defcfb27926ea876a4
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);
//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)
{