discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7a0bdda5d6a8bc65a9b9ebefcb60a96e31459342
commit 7a0bdda5d6a8bc65a9b9ebefcb60a96e31459342 Author: Mike Blumenkrantz <[email protected]> Date: Wed Feb 14 21:14:52 2018 -0500 elm_slideshow: loop -> items_loop --- src/lib/elementary/elm_slideshow.c | 4 ++-- src/lib/elementary/elm_slideshow.eo | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/elementary/elm_slideshow.c b/src/lib/elementary/elm_slideshow.c index dd9d48ef0f..f3dcb0370b 100644 --- a/src/lib/elementary/elm_slideshow.c +++ b/src/lib/elementary/elm_slideshow.c @@ -587,7 +587,7 @@ _elm_slideshow_timeout_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) } EOLIAN static void -_elm_slideshow_loop_set(Eo *obj, Elm_Slideshow_Data *sd, Eina_Bool loop) +_elm_slideshow_items_loop_set(Eo *obj, Elm_Slideshow_Data *sd, Eina_Bool loop) { ELM_SLIDESHOW_CHECK(obj); sd->loop = loop; @@ -614,7 +614,7 @@ _elm_slideshow_layout_set(Eo *obj, Elm_Slideshow_Data *sd, const char *layout) } EOLIAN static Eina_Bool -_elm_slideshow_loop_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_items_loop_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->loop; } diff --git a/src/lib/elementary/elm_slideshow.eo b/src/lib/elementary/elm_slideshow.eo index acb6b24b44..a41b309cd6 100644 --- a/src/lib/elementary/elm_slideshow.eo +++ b/src/lib/elementary/elm_slideshow.eo @@ -80,7 +80,7 @@ class Elm.Slideshow (Efl.Ui.Layout, Efl.Access.Widget.Action, Efl.Ui.Legacy) transition: string @nullable; [[The new transition's name string.]] } } - @property loop { + @property items_loop { set { [[Set if the slideshow items should be displayed cyclically or not, so when the end is reached it will restart from the first item. @@ -88,11 +88,13 @@ class Elm.Slideshow (Efl.Ui.Layout, Efl.Access.Widget.Action, Efl.Ui.Legacy) Note: This will affect the "automatic" slidshow behaviour and the @.next and @.previous functions as well. ]] + legacy: elm_slideshow_loop_set; } get { [[Get if, after a slideshow is started, for a given slideshow widget, its items are to be displayed cyclically or not. ]] + legacy: elm_slideshow_loop_get; } values { loop: bool; [[Use $true to make it cycle through items or --
