summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-25 17:56:17 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-09-25 17:56:17 -0400
commit59709bc90776261aee66e1f3d527fca0e5fbe151 (patch)
tree77284727ab64ff464bf7c1f92432c35335405108
parentaab934176637d445858d1fded8886ecdb9daa349 (diff)
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
-rw-r--r--data/elementary/themes/edc/efl/button.edc4
-rw-r--r--data/elementary/themes/edc/efl/calendar.edc2
-rw-r--r--data/elementary/themes/edc/efl/spin_button.edc2
-rw-r--r--src/lib/elementary/efl_ui_button.c4
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/data/elementary/themes/edc/efl/button.edc b/data/elementary/themes/edc/efl/button.edc
index cf86312..bd07559 100644
--- a/data/elementary/themes/edc/efl/button.edc
+++ b/data/elementary/themes/edc/efl/button.edc
@@ -320,7 +320,7 @@ group { name: "efl/button"; data.item: "version" "123";
320 } 320 }
321 } 321 }
322 program { name: "buttonactivate"; 322 program { name: "buttonactivate";
323 signal: "efl,anim,activate"; source: "efl"; 323 signal: "efl,state,animation,activated"; source: "efl";
324 action: STATE_SET "pressed" 0.0; 324 action: STATE_SET "pressed" 0.0;
325 target: "base"; 325 target: "base";
326 after: "button_unpressed_anim"; 326 after: "button_unpressed_anim";
@@ -696,7 +696,7 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
696 target: "text2"; 696 target: "text2";
697 } 697 }
698 program { 698 program {
699 signal: "efl,anim,activate"; source: "efl"; 699 signal: "efl,state,animation,activated"; source: "efl";
700 action: STATE_SET "clicked" 0.0; 700 action: STATE_SET "clicked" 0.0;
701 target: "bar2"; 701 target: "bar2";
702 target: "text2"; 702 target: "text2";
diff --git a/data/elementary/themes/edc/efl/calendar.edc b/data/elementary/themes/edc/efl/calendar.edc
index 459dbdb..7ec30b1 100644
--- a/data/elementary/themes/edc/efl/calendar.edc
+++ b/data/elementary/themes/edc/efl/calendar.edc
@@ -647,7 +647,7 @@ group { "efl/calendar"; data.item: "version" "123";
647 action: SIGNAL_EMIT "efl,action,click" ""; 647 action: SIGNAL_EMIT "efl,action,click" "";
648 } 648 }
649 program { name: "access_pressed"; 649 program { name: "access_pressed";
650 signal: "efl,action,anim,activate"; 650 signal: "efl,state,animation,activated";
651 source: "efl"; 651 source: "efl";
652 action: STATE_SET "pressed" 0.0; 652 action: STATE_SET "pressed" 0.0;
653 target: "arrow.image"; 653 target: "arrow.image";
diff --git a/data/elementary/themes/edc/efl/spin_button.edc b/data/elementary/themes/edc/efl/spin_button.edc
index 5008295..d359fc3 100644
--- a/data/elementary/themes/edc/efl/spin_button.edc
+++ b/data/elementary/themes/edc/efl/spin_button.edc
@@ -311,7 +311,7 @@ group { "efl/spin_button/horizontal/inc_button";
311 action: SIGNAL_EMIT "efl,action,click" ""; 311 action: SIGNAL_EMIT "efl,action,click" "";
312 } 312 }
313 program { name: "access_pressed"; 313 program { name: "access_pressed";
314 signal: "efl,anim,activate"; 314 signal: "efl,state,animation,activated";
315 source: "efl"; 315 source: "efl";
316 action: STATE_SET "pressed" 0.0; 316 action: STATE_SET "pressed" 0.0;
317 target: "arrow.image"; 317 target: "arrow.image";
diff --git a/src/lib/elementary/efl_ui_button.c b/src/lib/elementary/efl_ui_button.c
index 4bcbc11..7c0a13e 100644
--- a/src/lib/elementary/efl_ui_button.c
+++ b/src/lib/elementary/efl_ui_button.c
@@ -102,7 +102,7 @@ _efl_ui_button_efl_ui_widget_on_access_activate(Eo *obj, Efl_Ui_Button_Data *_pd
102 if (elm_widget_is_legacy(obj)) 102 if (elm_widget_is_legacy(obj))
103 elm_layout_signal_emit(obj, "elm,anim,activate", "elm"); 103 elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
104 else 104 else
105 elm_layout_signal_emit(obj, "efl,anim,activate", "efl"); 105 elm_layout_signal_emit(obj, "efl,state,animation,activated", "efl");
106 106
107 return EINA_TRUE; 107 return EINA_TRUE;
108} 108}
@@ -113,7 +113,7 @@ _key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED)
113 if (elm_widget_is_legacy(obj)) 113 if (elm_widget_is_legacy(obj))
114 elm_layout_signal_emit(obj, "elm,anim,activate", "elm"); 114 elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
115 else 115 else
116 elm_layout_signal_emit(obj, "efl,anim,activate", "efl"); 116 elm_layout_signal_emit(obj, "efl,state,animation,activated", "efl");
117 _activate(obj); 117 _activate(obj);
118 return EINA_TRUE; 118 return EINA_TRUE;
119} 119}
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index bbfd7d7..9be2137 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -542,13 +542,13 @@ _access_increment_decrement_info_say(Evas_Object *obj,
542 if (is_incremented) 542 if (is_incremented)
543 { 543 {
544 elm_object_signal_emit 544 elm_object_signal_emit
545 (sd->inc_button, "efl,anim,activate", "efl"); 545 (sd->inc_button, "efl,state,animation,activated", "efl");
546 eina_strbuf_append(buf, E_("incremented")); 546 eina_strbuf_append(buf, E_("incremented"));
547 } 547 }
548 else 548 else
549 { 549 {
550 elm_object_signal_emit 550 elm_object_signal_emit
551 (sd->dec_button, "efl,anim,activate", "efl"); 551 (sd->dec_button, "efl,state,animation,activated", "efl");
552 eina_strbuf_append(buf, E_("decremented")); 552 eina_strbuf_append(buf, E_("decremented"));
553 } 553 }
554 554