projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d28e192
)
Correctly emit the scroll signal when scrolling an entry @fix T1274.
author
Andy Williams
<andy@andywilliams.me>
Thu, 22 May 2014 21:33:46 +0000
(22:33 +0100)
committer
Andy 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
patch
|
blob
|
history
diff --git
a/src/lib/elm_entry.c
b/src/lib/elm_entry.c
index
dc97a24
..
f1eea24
100644
(file)
--- 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);
}