okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=57f2a4ea07193e2a0dac719964bdafc336137150

commit 57f2a4ea07193e2a0dac719964bdafc336137150
Author: Stephen Houston <[email protected]>
Date:   Thu Mar 5 14:47:19 2015 -0600

    Ephoto: Update TODO, Make fsel default save name the basename of current 
image.
---
 TODO                            | 2 --
 src/bin/ephoto_single_browser.c | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/TODO b/TODO
index f8f0be5..6685b12 100644
--- a/TODO
+++ b/TODO
@@ -2,9 +2,7 @@ TODO-
 -Config:
 Add more options to the config.
 -Single Browser:
-Add cropping capability.
 Add neat effects like grayscale, sepia, HSV/RGB, etc...
-Add ability to save images.
 -Thumb Browser:
 Add ability to view more info on image(Exif perhaps?)
 Turn file selector into a tree.
diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index e274d35..81ea982 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -1102,7 +1102,7 @@ _save_image_as(void *data, Evas_Object *obj EINA_UNUSED, 
void *event_info EINA_U
    elm_fileselector_is_save_set(fsel, EINA_TRUE);
    elm_fileselector_expandable_set(fsel, EINA_FALSE);
    elm_fileselector_path_set(fsel, sb->ephoto->config->directory);
-   elm_fileselector_current_name_set(fsel, "Save as...");
+   elm_fileselector_current_name_set(fsel, sb->entry->basename);
    elm_fileselector_mime_types_filter_append(fsel, "image/*", "Image Files");
    evas_object_size_hint_weight_set(fsel, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_size_hint_align_set(fsel, EVAS_HINT_FILL, EVAS_HINT_FILL);

-- 


Reply via email to