okra pushed a commit to branch master.

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

commit 702148c09cd432aac43b95f0409482f552e4fdaf
Author: Stephen okra Houston <smhousto...@gmail.com>
Date:   Thu Jan 14 15:32:10 2016 -0600

    Ephoto:  Make animated images such as gifs play.
---
 src/bin/ephoto_cropper.c        | 2 +-
 src/bin/ephoto_single_browser.c | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/bin/ephoto_cropper.c b/src/bin/ephoto_cropper.c
index ee00b64..b5c8998 100644
--- a/src/bin/ephoto_cropper.c
+++ b/src/bin/ephoto_cropper.c
@@ -17,7 +17,7 @@ struct _Ephoto_Cropper
    int starty;
    int offsetx;
    int offsety;
-   int resizing;
+   Eina_Bool resizing;
 };
 
 static void
diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index 0d7a859..84e0600 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -204,6 +204,11 @@ _viewer_add(Evas_Object *parent, const char *path, 
Ephoto_Single_Browser *sb)
        _image_mouse_up_cb, sb);
    elm_table_pack(v->table, v->image, 0, 0, 1, 1);
    evas_object_show(v->image);
+   if (elm_image_animated_available_get(v->image))
+     {
+        elm_image_animated_set(v->image, EINA_TRUE);
+        elm_image_animated_play_set(v->image, EINA_TRUE);
+     }
 
    return v->scroller;
 

-- 


Reply via email to