rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=2ab98c1325cd6e4e8a34b0964e75a9f1627f5c5c

commit 2ab98c1325cd6e4e8a34b0964e75a9f1627f5c5c
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu Oct 8 11:21:52 2015 +0300

    popup: if fileselector in save mode add to selected path the string from 
entry
    
    Change-Id: Ia3b4d9f81e409a421b59dca581ec72e9740efab0
---
 src/bin/ui/popup.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/popup.c b/src/bin/ui/popup.c
index e513edb..1f8da67 100644
--- a/src/bin/ui/popup.c
+++ b/src/bin/ui/popup.c
@@ -146,7 +146,12 @@ _done(void *data __UNUSED__,
           selected_paths = (Eina_List 
*)elm_fileselector_selected_paths_get(fs);
         else
           {
-             selected = elm_fileselector_selected_get(fs);
+             if (elm_fileselector_is_save_get(fs))
+               selected = eina_stringshare_printf("%s/%s",
+                                                  
elm_fileselector_path_get(fs),
+                                                  
elm_fileselector_current_name_get(fs));
+             else
+               selected = elm_fileselector_path_get(fs);
              selected_paths = eina_list_append(selected_paths, selected);
           }
         ((Evas_Smart_Cb)dismiss_func)(func_data, NULL, selected_paths);

-- 


Reply via email to