Correctly emit the scroll signal when scrolling an entry @fix T1274.
authorAndy Williams <andy@andywilliams.me>
Thu, 22 May 2014 21:33:46 +0000 (22:33 +0100)
committerAndy Williams <andy@andywilliams.me>
Thu, 22 May 2014 21:35:06 +0000 (22:35 +0100)
As the Elm_Entry has replaced the _scroll_cb we need to emit the same signal
(that was the only function of elm_scroller's _scroll_cb)

src/lib/elm_entry.c

index dc97a24..f1eea24 100644 (file)
@@ -4505,6 +4505,9 @@ static void
 _scroll_cb(Evas_Object *obj, void *data EINA_UNUSED)
 {
    ELM_ENTRY_DATA_GET(obj, sd);
+   /* here we need to emit the signal that the elm_scroller would have done */
+   evas_object_smart_callback_call(obj, "scroll", NULL);
+
    if (sd->have_selection)
      _update_selection_handler(obj);
 }