[N_SE-26948], [N_SE-26949], [N_SE-27491] - set as rington bug fix, delete more button...
authorHyungmin Kim <hm2007.kim@samsung.com>
Mon, 18 Mar 2013 11:22:11 +0000 (20:22 +0900)
committerHyungmin Kim <hm2007.kim@samsung.com>
Mon, 18 Mar 2013 11:22:11 +0000 (20:22 +0900)
Change-Id: I16d7b0a5ad849b9cffb4d1defcfb27926ea876a4

src/common/mp-util.c
src/common/mp-view-manager.c

index c7158d1..45249ad 100755 (executable)
@@ -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);
index 508dd08..feda211 100755 (executable)
@@ -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)
        {