Ephoto: Fix bug where renaming a directory could crash.

This commit is contained in:
Stephen okra Houston 2016-08-05 13:13:48 -05:00
parent 2d37951e95
commit 2fd0fa2261
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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,