forked from enlightenment/efl
theme: migrate all efl,anim,activate (and similar) signals to efl,state,animation,activated
Summary: ref T8231 Depends on D10166 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8231 Differential Revision: https://phab.enlightenment.org/D10167
This commit is contained in:
parent
aab9341766
commit
59709bc907
|
@ -320,7 +320,7 @@ group { name: "efl/button"; data.item: "version" "123";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
program { name: "buttonactivate";
|
program { name: "buttonactivate";
|
||||||
signal: "efl,anim,activate"; source: "efl";
|
signal: "efl,state,animation,activated"; source: "efl";
|
||||||
action: STATE_SET "pressed" 0.0;
|
action: STATE_SET "pressed" 0.0;
|
||||||
target: "base";
|
target: "base";
|
||||||
after: "button_unpressed_anim";
|
after: "button_unpressed_anim";
|
||||||
|
@ -696,7 +696,7 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
||||||
target: "text2";
|
target: "text2";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
signal: "efl,anim,activate"; source: "efl";
|
signal: "efl,state,animation,activated"; source: "efl";
|
||||||
action: STATE_SET "clicked" 0.0;
|
action: STATE_SET "clicked" 0.0;
|
||||||
target: "bar2";
|
target: "bar2";
|
||||||
target: "text2";
|
target: "text2";
|
||||||
|
|
|
@ -647,7 +647,7 @@ group { "efl/calendar"; data.item: "version" "123";
|
||||||
action: SIGNAL_EMIT "efl,action,click" "";
|
action: SIGNAL_EMIT "efl,action,click" "";
|
||||||
}
|
}
|
||||||
program { name: "access_pressed";
|
program { name: "access_pressed";
|
||||||
signal: "efl,action,anim,activate";
|
signal: "efl,state,animation,activated";
|
||||||
source: "efl";
|
source: "efl";
|
||||||
action: STATE_SET "pressed" 0.0;
|
action: STATE_SET "pressed" 0.0;
|
||||||
target: "arrow.image";
|
target: "arrow.image";
|
||||||
|
|
|
@ -311,7 +311,7 @@ group { "efl/spin_button/horizontal/inc_button";
|
||||||
action: SIGNAL_EMIT "efl,action,click" "";
|
action: SIGNAL_EMIT "efl,action,click" "";
|
||||||
}
|
}
|
||||||
program { name: "access_pressed";
|
program { name: "access_pressed";
|
||||||
signal: "efl,anim,activate";
|
signal: "efl,state,animation,activated";
|
||||||
source: "efl";
|
source: "efl";
|
||||||
action: STATE_SET "pressed" 0.0;
|
action: STATE_SET "pressed" 0.0;
|
||||||
target: "arrow.image";
|
target: "arrow.image";
|
||||||
|
|
|
@ -102,7 +102,7 @@ _efl_ui_button_efl_ui_widget_on_access_activate(Eo *obj, Efl_Ui_Button_Data *_pd
|
||||||
if (elm_widget_is_legacy(obj))
|
if (elm_widget_is_legacy(obj))
|
||||||
elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
|
elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
|
||||||
else
|
else
|
||||||
elm_layout_signal_emit(obj, "efl,anim,activate", "efl");
|
elm_layout_signal_emit(obj, "efl,state,animation,activated", "efl");
|
||||||
|
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
@ -113,7 +113,7 @@ _key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED)
|
||||||
if (elm_widget_is_legacy(obj))
|
if (elm_widget_is_legacy(obj))
|
||||||
elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
|
elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
|
||||||
else
|
else
|
||||||
elm_layout_signal_emit(obj, "efl,anim,activate", "efl");
|
elm_layout_signal_emit(obj, "efl,state,animation,activated", "efl");
|
||||||
_activate(obj);
|
_activate(obj);
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -542,13 +542,13 @@ _access_increment_decrement_info_say(Evas_Object *obj,
|
||||||
if (is_incremented)
|
if (is_incremented)
|
||||||
{
|
{
|
||||||
elm_object_signal_emit
|
elm_object_signal_emit
|
||||||
(sd->inc_button, "efl,anim,activate", "efl");
|
(sd->inc_button, "efl,state,animation,activated", "efl");
|
||||||
eina_strbuf_append(buf, E_("incremented"));
|
eina_strbuf_append(buf, E_("incremented"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
elm_object_signal_emit
|
elm_object_signal_emit
|
||||||
(sd->dec_button, "efl,anim,activate", "efl");
|
(sd->dec_button, "efl,state,animation,activated", "efl");
|
||||||
eina_strbuf_append(buf, E_("decremented"));
|
eina_strbuf_append(buf, E_("decremented"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue