#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_RIGHT_MIN_INC 15
#define POPUP_CONTENT_DEFAULT_PADDING_TOP_BOTTOM_MIN_INC 27
-#define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 90
-#define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 90
+#define POPUP_VIEW_LAYOUT_CONTENT_MIN_INC 0 90
group {
name: "popup_confirmation_layout";
type: SPACER;
description {
state: "default" 0.0;
- min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
+ min: POPUP_VIEW_LAYOUT_CONTENT_MIN_INC;
fixed: 0 1;
}
}
scale: 1;
description {
state: "default" 0.0;
- min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
+ min: POPUP_VIEW_LAYOUT_CONTENT_MIN_INC;
align: 0.5 0.0;
rel2 {
relative: 1.0 0.0;
void mf_edit_select_all_check_set(Eina_Bool state);
void mf_edit_view_select_all_layout_prepend(void *data);
void mf_edit_list_item_sel_by_list_data(mf_list_data_t *selected, Evas_Object * obj, Eina_Bool is_update_checkbox);
+void mf_edit_file_list_item_remove(void *data);
#endif //__MF_EDIT_VIEW_H_DEF__
{
int err = MYFILE_ERR_NONE;
char buf[256] = {0,};
- char const *str = strerror_r(err_no, buf, 256);
+ char *str = (char *)strerror_r(err_no, buf, 256);
mf_error("err_no is [%d] error - %s", err_no, str);
switch (err_no) {
char **files;
int count;
};
-
+void mf_launch_add_recent_files(void *data, const char *path);
/*
static void __mf_launch_ug_layout_cb(ui_gadget_h ug, enum ug_mode mode, void *priv)
{
if (ap->mf_Status.view_type != mf_view_root) {
Evas_Object *pBackButton = NULL;
pBackButton = __mf_navi_bar_backbutton_create(ap->mf_MainWindow.pNaviBar, ap->mf_MainWindow.pWindow);
- evas_object_smart_callback_add(pBackButton, "clicked", func, ap);
+ evas_object_smart_callback_add(pBackButton, "clicked", (Evas_Smart_Cb)func, ap);
if (pBackButton) {
Evas_Object *unset = elm_object_item_part_content_unset(ap->mf_MainWindow.pNaviItem, "prev_btn");
return;
}
+#if 0 //for tizen 3.0
static Eina_Bool __mf_root_view_launch_search(void *data)
{
struct appdata *ap = (struct appdata *)data;
mf_ecore_idler_del(ap->mf_Status.float_button_idler);
ap->mf_Status.float_button_idler = ecore_idler_add((Ecore_Task_Cb)__mf_root_view_launch_search, ap);
}
+#endif
void mf_root_view_create(void *data)
{
static void __mf_search_entry_text_del_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
struct appdata *ap = (struct appdata *)data;
- Evas_Object *icon = NULL;
if (!elm_entry_is_empty(ap->mf_MainWindow.pSearchEntry)) {
elm_entry_entry_set(ap->mf_MainWindow.pSearchEntry, "");
}
Evas_Object *sb = NULL;
Evas_Object *en = NULL;
- Evas_Object *icon = NULL;
sb = elm_layout_add(parent);
evas_object_size_hint_weight_set(back_btn, EVAS_HINT_EXPAND, 0);
evas_object_size_hint_align_set(back_btn, EVAS_HINT_FILL, 0.0);
evas_object_show(back_btn);
- evas_object_smart_callback_add(back_btn, "clicked", __mf_search_entry_text_del_cb, ap);
+ evas_object_smart_callback_add(back_btn, "clicked", (Evas_Smart_Cb)__mf_search_entry_text_del_cb, ap);
ap->mf_MainWindow.pSearchLayout = back_btn;
static Elm_Entry_Filter_Limit_Size limit_filter_data;
MF_TRACE_END;
}
-static void __mf_category_all_item_clicked(void *data, Evas_Object *o, const char *emission, const char *source)
-{
- MF_TRACE_BEGIN;
- struct appdata *ap = (struct appdata *)mf_get_appdata();
- if (ap->mf_Status.more == MORE_EDIT_DELETE_SHORTCUT
- || ap->mf_Status.more == MORE_EDIT_RENAME) {
- return;
- }
-
- mf_view_update(ap);
- MF_TRACE_END;
-}
-
static void __mf_category_recent_item_clicked(void *data, Evas_Object *o, const char *emission, const char *source)
{
MF_TRACE_BEGIN;