okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=11ffca550165bfbea985d0a3a8f310fc00c6680d

commit 11ffca550165bfbea985d0a3a8f310fc00c6680d
Author: Stephen Houston <[email protected]>
Date:   Wed Apr 13 20:07:53 2016 -0500

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

-- 


Reply via email to