projects
/
profile
/
mobile
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc37a89
)
[entry] When entry is disabled, scrolling is also disabled.
author
WooHyun Jung
<wh0705.jung@samsung.com>
Tue, 16 Apr 2013 12:01:14 +0000
(21:01 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:17:18 +0000
(13:17 +0900)
src/lib/elm_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_entry.c
b/src/lib/elm_entry.c
index
317b692
..
4c2f61c
100644
(file)
--- a/
src/lib/elm_entry.c
+++ b/
src/lib/elm_entry.c
@@
-1032,11
+1032,15
@@
_elm_entry_smart_disable(Evas_Object *obj)
if (elm_object_disabled_get(obj))
{
edje_object_signal_emit(sd->entry_edje, "elm,state,disabled", "elm");
+ if (sd->scroll)
+ sd->s_iface->freeze_set(obj, EINA_TRUE);
sd->disabled = EINA_TRUE;
}
else
{
edje_object_signal_emit(sd->entry_edje, "elm,state,enabled", "elm");
+ if (sd->scroll)
+ sd->s_iface->freeze_set(obj, EINA_FALSE);
sd->disabled = EINA_FALSE;
}