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:
df8d289
)
elm_entry: Set the type to cbhm when dbus is initiated.
13/120713/1
author
SubodhKumar
<s7158.kumar@samsung.com>
Sat, 18 Feb 2017 13:43:44 +0000
(19:13 +0530)
committer
Taehyub Kim
<taehyub.kim@samsung.com>
Fri, 24 Mar 2017 01:55:44 +0000
(10:55 +0900)
Issue:
By the time entry got focused, job has not initiated the dbus
causing not setting type to cbhm.
Change-Id: I25282eeb2280b7bfde642651b66b2bd6a951c834
src/lib/elm_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_entry.c
b/src/lib/elm_entry.c
index
3fef72f
..
96d106f
100644
(file)
--- a/
src/lib/elm_entry.c
+++ b/
src/lib/elm_entry.c
@@
-202,6
+202,14
@@
_init_eldbus_job(Evas_Object *obj)
ELM_ENTRY_DATA_GET(obj, sd);
_cbhm_eldbus_init(obj);
+ /* If entry got focused by the time job has not initiated the dbus */
+ if (elm_widget_focus_get(obj))
+ {
+ if (sd->cnp_mode != ELM_CNP_MODE_MARKUP)
+ eldbus_proxy_call(sd->cbhm_proxy, "CbhmSetInputTextType", NULL, NULL, -1, "s", "text");
+ else
+ eldbus_proxy_call(sd->cbhm_proxy, "CbhmSetInputTextType", NULL, NULL, -1, "s", "image");
+ }
sd->cbhm_init_done = EINA_TRUE;
sd->cbhm_init_job = NULL;
}