forked from enlightenment/efl
elementary/elm_entry : From. Thiep Ha.
In elementary, the disabled entry works incorrectly. We still can cut/paste from/to it. SVN revision: 78836
This commit is contained in:
parent
880f6b82a1
commit
b684a2ccf7
|
@ -479,9 +479,15 @@ _elm_entry_smart_disable(Evas_Object *obj)
|
|||
ELM_ENTRY_DATA_GET(obj, sd);
|
||||
|
||||
if (elm_object_disabled_get(obj))
|
||||
edje_object_signal_emit(sd->entry_edje, "elm,state,disabled", "elm");
|
||||
{
|
||||
edje_object_signal_emit(sd->entry_edje, "elm,state,disabled", "elm");
|
||||
sd->disabled = EINA_TRUE;
|
||||
}
|
||||
else
|
||||
edje_object_signal_emit(sd->entry_edje, "elm,state,enabled", "elm");
|
||||
{
|
||||
edje_object_signal_emit(sd->entry_edje, "elm,state,enabled", "elm");
|
||||
sd->disabled = EINA_FALSE;
|
||||
}
|
||||
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue