#define MYFILE_PACKAGE "My Files"
#define PKGNAME_MYFILE "org.tizen.myfile"
#define PKGNAME_SYSTEM "sys_string"
-#define LOCALEDIR "/usr/apps/org.tizen.myfile/res/locale"
+#define LOCALEDIR "locale"
#define MF_IMAGE_HEAD "myfile_"
#define EDJ_PATH "/usr/apps/org.tizen.myfile/res/edje"
#define ICON_PATH "/usr/apps/org.tizen.myfile/res/images"
struct appdata *ap = (struct appdata *)data;
int ret_value = 0;
- bindtextdomain(MYFILE_STRING_PACKAGE, LOCALEDIR);
+ char locale_path[1024] = {0};
+ char *path = app_get_resource_path();
+ snprintf(locale_path, 1024, "%s%s", path, LOCALEDIR);
+ bindtextdomain(MYFILE_STRING_PACKAGE, locale_path);
textdomain(MYFILE_STRING_PACKAGE);
-// ret_value = pthread_create(&thread_init, NULL, initialization, data);
-// if (ret_value != 0) {
-// initialization(data);
-// mf_retvm_if(!initialization_done, -1, "Initialization failed");
-// }
+/*
+ ret_value = pthread_create(&thread_init, NULL, initialization, data);
+ if (ret_value != 0) {
+ initialization(data);
+ mf_retvm_if(!initialization_done, -1, "Initialization failed");
+ }
+*/
+
initialization(data);
- //elm_config_preferred_engine_set("opengl_x11");
+
+ /* elm_config_preferred_engine_set("opengl_x11"); */
+
#if 0//Deprecated API
if (!g_thread_supported()) {
g_thread_init(NULL);
MF_TA_ACUM_ITEM_END("1234 mf_object_create_layout_main", 0);
char edj_path[1024] = {0};
- char *path = app_get_resource_path();
snprintf(edj_path, 1024, "%s%s/%s", path , "edje", EDJ_GENLIST_NAME);
elm_theme_extension_add(NULL, edj_path);
//1 Storage Usage
__mf_context_popup_item_append(ctxpopup, ap, mf_context_popup_item_storage_usage);
+
+ //1 Hidden
+ __mf_context_popup_item_append(ctxpopup, ap, mf_context_popup_item_show_hide_hidden);
+
//1 Setting
//__mf_context_popup_item_append(ctxpopup, ap, mf_context_popup_item_setting);
} else if (ap->mf_Status.view_type == mf_view_storage) {
//1 Sort by
__mf_context_popup_item_append(ctxpopup, ap, mf_context_popup_item_sort_by);
}
- // hidden
+ // Hidden
__mf_context_popup_item_append(ctxpopup, ap, mf_context_popup_item_show_hide_hidden);
+
//1 Setting
//__mf_context_popup_item_append(ctxpopup, ap, mf_context_popup_item_setting);