elementary: fix invalid state in segmentcontrol

This fixes runtime errors such as:

ERR<29027>:edje lib/edje/edje_calc.c:756 _edje_part_description_apply()
Cannot find description "normal" in part "text2" from group
"elm/segment_control/item/default". Fallback to default description.

The "normal" (non-existant) state corresponds to a disabled state,
which is provided by the "default" state.
This commit is contained in:
Jean Guyomarc'h 2016-09-28 08:10:13 +02:00
parent e811484ba5
commit b2ddadd941
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ group { name: "elm/segment_control/item/default";
set_state(PART:"disabler", "default", 0.0);
} else {
set_state(PART:"elm.text", "disabled", 0.0);
set_state(PART:"text2", "normal", 0.0);
set_state(PART:"text2", "default", 0.0);
set_state(PART:"disabler", "disabled", 0.0);
if(type == SEGMENT_TYPE_SINGLE)
set_state(PART:"segment", "default_single", 0.0);