From 11ffca550165bfbea985d0a3a8f310fc00c6680d Mon Sep 17 00:00:00 2001 From: Stephen Houston Date: Wed, 13 Apr 2016 20:07:53 -0500 Subject: [PATCH] Ephoto: If located in single browser on rename, make sure to pend the new file path. --- src/bin/ephoto_file.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bin/ephoto_file.c b/src/bin/ephoto_file.c index 1e399bb..7b8b334 100644 --- a/src/bin/ephoto_file.c +++ b/src/bin/ephoto_file.c @@ -478,6 +478,12 @@ _rename_confirm(void *data, Evas_Object *obj EINA_UNUSED, _complete(ephoto, _("Error"), _("There was an error renaming this file.")); } + else + { + if (ephoto->state == EPHOTO_STATE_SINGLE) + ephoto_single_browser_path_pending_set(ephoto->single_browser, + new_file_name); + } evas_object_del(popup); evas_object_freeze_events_set(ephoto->pager, EINA_FALSE); elm_object_focus_set(ephoto->pager, EINA_TRUE);