okra pushed a commit to branch master.

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

commit f89b553bd01abf529a855648a8c7a216b5da8406
Author: Stephen okra Houston <smhousto...@gmail.com>
Date:   Thu Jan 14 16:05:41 2016 -0600

    Ephoto: Add additional key bindings.
---
 src/bin/ephoto_single_browser.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index 84e0600..19c4248 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -2259,6 +2259,17 @@ _key_down(void *data, Evas *e EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED,
           {
              _delete_image(sb, NULL, NULL);
           }
+        else if (!strcmp(k, "s"))
+          {
+             if (!shift)
+               _save_image_as(sb, NULL, NULL);
+             else
+               _save_image(sb, NULL, NULL);
+          }
+        else if (!strcmp(k, "u"))
+          {
+             _reset_image(sb, NULL, NULL);
+          }
        return;
      }
 

-- 


Reply via email to