diff options
author | Andy Williams <andy@andywilliams.me> | 2014-05-22 22:33:46 +0100 |
---|---|---|
committer | Andy Williams <andy@andywilliams.me> | 2014-05-22 22:35:06 +0100 |
commit | 497cc15ac2e42e3ba7b100fdbf3987fd91476d8b (patch) | |
tree | 77c2eea2150f6d955d6202ef81fcb634cb26b97b | |
parent | d28e1923dee4bbe97ad86acdb511573615edbcac (diff) | |
download | elementary-497cc15ac2e42e3ba7b100fdbf3987fd91476d8b.tar.gz |
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.c | 3 |
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 _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); } |