scale: 1;
clip_to: "elm.text.clipper";
description { state: "default" 0.0;
- visible: 1;
+ visible: 0;
rel1 {
relative: 1.0 1.0;
to_x: "padding_after_icon";
action: STATE_SET "animation" 0.0;
target: "elm.text.clipper";
target: "elm.text_new.clipper";
- transition: LINEAR 0.2;
after: "label_set,animation,done";
}
program { name: "label_set,animation,done";
target: "elm.icon_new.clipper";
target: "elm.icon.proxy.clipper";
target: "elm.icon_new.proxy.clipper";
- transition: LINEAR 0.2;
after: "icon_set,animation,done";
}
program { name: "icon_set,animation,done";
new st[31];
new Float:vl;
get_state(PART:"elm.swallow.icon", st, 30, vl);
- if (!strcmp(st, "visible"))
+ if (strcmp(st, "default"))
{
set_state(PART:"elm.swallow.icon", "icononly", 0.0);
set_state(PART:"icon_rect", "icononly", 0.0);
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
- if (!strncmp(st, "visible", 7))
+ if (strncmp(st, "default", 7))
{
set_state(PART:"elm.swallow.icon", "visible", 0.0);
set_state(PART:"icon_rect", "visible", 0.0);