summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2014-11-01 02:47:04 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2014-11-01 02:47:04 +0900
commit7c3a592320108a4daa093fbc969e423724c7621a (patch)
tree0a498176d3119cb102c7f14827b42b68edc24a91
parentd4bffdd8628ee4a76e3b3f35dbea8b6522b6b052 (diff)
edc: Use signal source if possible.
-rw-r--r--res/edje/main.edc4
-rw-r--r--src/main.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/res/edje/main.edc b/res/edje/main.edc
index 6b6bc50..aae05db 100644
--- a/res/edje/main.edc
+++ b/res/edje/main.edc
@@ -99,14 +99,14 @@ collections {
99 programs { 99 programs {
100 program { 100 program {
101 signal: "game,start"; 101 signal: "game,start";
102 source: ""; 102 source: "tile_matching";
103 action: STATE_SET "ingame" 0.0; 103 action: STATE_SET "ingame" 0.0;
104 target: "start_btn_swallow"; 104 target: "start_btn_swallow";
105 target: "clipper_swallow"; 105 target: "clipper_swallow";
106 } 106 }
107 program { 107 program {
108 signal: "game,retry"; 108 signal: "game,retry";
109 source: ""; 109 source: "tile_matching";
110 action: STATE_SET "default" 0.0; 110 action: STATE_SET "default" 0.0;
111 target: "start_btn_swallow"; 111 target: "start_btn_swallow";
112 target: "clipper_swallow"; 112 target: "clipper_swallow";
diff --git a/src/main.c b/src/main.c
index bea7738..11dfc15 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,7 +20,7 @@ retry_button_clicked_cb(void *data, Evas_Object *obj, void *ev)
20{ 20{
21 appdata_s *ad = (appdata_s *)data; 21 appdata_s *ad = (appdata_s *)data;
22 evas_object_del(ad->popup); 22 evas_object_del(ad->popup);
23 elm_layout_signal_emit(ad->layout, "game,retry", ""); 23 elm_layout_signal_emit(ad->layout, "game,retry", "tile_matching");
24 24
25} 25}
26 26
@@ -81,7 +81,7 @@ start_button_clicked_cb(void *data, Evas_Object *obj, void *event_info)
81 81
82 ad->progress_timer = ecore_timer_add(1.0, progress_timer_cb, ad); 82 ad->progress_timer = ecore_timer_add(1.0, progress_timer_cb, ad);
83 83
84 elm_layout_signal_emit(ad->layout, "game,start", ""); 84 elm_layout_signal_emit(ad->layout, "game,start", "tile_matching");
85} 85}
86 86
87 87