Ephoto: Fix bug where renaming a directory could crash.
This commit is contained in:
parent
2d37951e95
commit
2fd0fa2261
|
@ -631,7 +631,7 @@ _fsel_mouse_up_cb(void *data, Evas *e EINA_UNUSED,
|
|||
{
|
||||
evas_object_data_set(item, "directory_browser", db);
|
||||
elm_menu_item_add(menu, NULL, "edit", _("Rename"),
|
||||
_fsel_menu_rename_cb, item);
|
||||
_fsel_menu_rename_cb, db);
|
||||
elm_menu_item_add(menu, NULL, "edit-paste", _("Paste"),
|
||||
_fsel_menu_paste_cb, db);
|
||||
}
|
||||
|
|
|
@ -1422,8 +1422,8 @@ ephoto_file_paste(Ephoto *ephoto, Eina_List *files, Eina_Bool copy, const char *
|
|||
Evas_Object *popup;
|
||||
|
||||
popup =
|
||||
_prompt(ephoto, _("Move Files"),
|
||||
_("Are you sure you want to move these files here?"));
|
||||
_prompt(ephoto, _("Paste Files"),
|
||||
_("Are you sure you want to paste these files here?"));
|
||||
|
||||
ic = elm_icon_add(popup);
|
||||
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL,
|
||||
|
|
Loading…
Reference in New Issue