From 2fd0fa2261b8884810f9f8e845b8409d5a5f5aff Mon Sep 17 00:00:00 2001 From: Stephen okra Houston Date: Fri, 5 Aug 2016 13:13:48 -0500 Subject: [PATCH] Ephoto: Fix bug where renaming a directory could crash. --- src/bin/ephoto_directory_browser.c | 2 +- src/bin/ephoto_file.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/ephoto_directory_browser.c b/src/bin/ephoto_directory_browser.c index b310a7a..93b12a7 100644 --- a/src/bin/ephoto_directory_browser.c +++ b/src/bin/ephoto_directory_browser.c @@ -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); } diff --git a/src/bin/ephoto_file.c b/src/bin/ephoto_file.c index ae1b8b5..4bd280a 100644 --- a/src/bin/ephoto_file.c +++ b/src/bin/ephoto_file.c @@ -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,