forked from enlightenment/efl
examples: Fix button theme
A program was not handling the various states properly.
This commit is contained in:
parent
0bcd4f73d2
commit
39166d3fbb
|
@ -167,7 +167,7 @@ collections {
|
|||
get_state(PART:"elm.text", st, 30, vl);
|
||||
if (!strcmp(st, "visible"))
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
else
|
||||
else if (!strcmp(st, "default"))
|
||||
set_state(PART:"elm.text", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ collections {
|
|||
get_state(PART:"elm.text", st, 30, vl);
|
||||
if (!strcmp(st, "disabled_visible"))
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
else
|
||||
else if (!strcmp(st, "disabled"))
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue