summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2014-05-22 22:33:46 +0100
committerAndy Williams <andy@andywilliams.me>2014-05-22 22:35:06 +0100
commit497cc15ac2e42e3ba7b100fdbf3987fd91476d8b (patch)
tree77c2eea2150f6d955d6202ef81fcb634cb26b97b
parentd28e1923dee4bbe97ad86acdb511573615edbcac (diff)
Correctly emit the scroll signal when scrolling an entry @fix T1274.
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)
-rw-r--r--src/lib/elm_entry.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index dc97a24e2..f1eea246a 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -4505,6 +4505,9 @@ static void
4505_scroll_cb(Evas_Object *obj, void *data EINA_UNUSED) 4505_scroll_cb(Evas_Object *obj, void *data EINA_UNUSED)
4506{ 4506{
4507 ELM_ENTRY_DATA_GET(obj, sd); 4507 ELM_ENTRY_DATA_GET(obj, sd);
4508 /* here we need to emit the signal that the elm_scroller would have done */
4509 evas_object_smart_callback_call(obj, "scroll", NULL);
4510
4508 if (sd->have_selection) 4511 if (sd->have_selection)
4509 _update_selection_handler(obj); 4512 _update_selection_handler(obj);
4510} 4513}