mf_debug("source name is %s and %s",source_name, ap->launched_file_name);
uf = unzOpen(source_name);
- if (uf==NULL)
- {
- strncat(source_name,".zip", strlen(".zip"));
- uf = unzOpen(source_name);
- }
-
if(uf == NULL) {
mf_debug("unable to extract files");
ap->mf_MainWindow.pNormalPopup = mf_popup_create_popup(data, POPMODE_TITLE_TEXT_BTN, MF_LABEL_UNABLE_TO_OPEN_FILE, MF_LABEL_NO_APP, MF_BUTTON_LABEL_OK, NULL, NULL, mf_callback_unsupported_app_cb, ap);
- mf_callback_cancel_cb(ap,NULL,NULL);
return NULL;
}
ap->mf_MainWindow.pNaviBox = mf_object_create_box(ap->mf_MainWindow.pNaviLayout);
newContent = __mf_decompress_view_create_content(ap);
if (newContent == NULL) {
+ mf_callback_cancel_cb(ap,NULL,NULL);
return;
}
evas_object_show(newContent);