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:
219722f
)
entry - send selection,cleared signal if a selection is dismissed.
author
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 7 Mar 2014 18:51:25 +0000
(
03:51
+0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 7 Mar 2014 18:54:44 +0000
(
03:54
+0900)
when the selection none was requested, the selection won't be cleared without the signal callback.
@fix
src/lib/elm_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_entry.c
b/src/lib/elm_entry.c
index c995522cb81d16b700919ab05d0bd767cb115398..4e386649d4dfc220ebe87dfb000c8eb47645f2a4 100644
(file)
--- a/
src/lib/elm_entry.c
+++ b/
src/lib/elm_entry.c
@@
-4059,6
+4059,9
@@
_select_none(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
(sd->entry_edje, "elm.text", EINA_FALSE);
edje_object_signal_emit(sd->entry_edje, "elm,state,select,off", "elm");
}
+ if (sd->have_selection)
+ evas_object_smart_callback_call(obj, SIG_SELECTION_CLEARED, NULL);
+
sd->have_selection = EINA_FALSE;
edje_object_part_text_select_none(sd->entry_edje, "elm.text");