okra pushed a commit to branch master.

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

commit e870db104a12cd9e71927db69f182ad237b832ac
Author: Stephen okra Houston <smhousto...@gmail.com>
Date:   Tue Dec 29 10:23:15 2015 -0600

    Ephoto: Don't use brackets for keybindings.  Ctrl+l and Ctrl+r to rotate.  
Shift+Ctrl+l and Shift+Ctrl+r to flip.
---
 src/bin/ephoto_single_browser.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index 01efd81..f09ae2f 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -2336,6 +2336,20 @@ _key_down(void *data, Evas *e EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED,
             else
                _zoom_set(sb, 1.0);
          }
+        else if (!strcmp(k, "l") && !sb->editing)
+          {
+             if (!shift)
+               _rotate_counterclock(sb);
+             else
+               _flip_horiz(sb);
+          }
+        else if (!strcmp(k, "r") && !sb->editing)
+          {
+             if (!shift)
+               _rotate_clock(sb);
+             else
+               _flip_vert(sb);
+          }
        return;
      }
 
@@ -2356,20 +2370,6 @@ _key_down(void *data, Evas *e EINA_UNUSED, Evas_Object 
*obj EINA_UNUSED,
       _first_entry(sb);
    else if (!strcmp(k, "End") && !sb->editing)
       _last_entry(sb);
-   else if (!strcmp(k, "bracketleft") && !sb->editing)
-     {
-       if (!shift)
-          _rotate_counterclock(sb);
-       else
-          _flip_horiz(sb);
-     }
-   else if (!strcmp(k, "bracketright") && !sb->editing)
-     {
-       if (!shift)
-          _rotate_clock(sb);
-       else
-          _flip_vert(sb);
-     }
    else if (!strcmp(k, "F2"))
      {
         _settings(sb, NULL, NULL);

-- 


Reply via email to