summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Houston <stephen@localhost.localdomain>2018-02-27 14:12:06 -0600
committerStephen Houston <stephen@localhost.localdomain>2018-02-27 14:12:50 -0600
commit26809bf9751b9686cf326a6eb8f1c0cd84b1f30e (patch)
treed39b2694c3b4d056b10514861369fd6e6dbe97cb
parenteabeb771129531397a18e69a3119d7faaed2f6dd (diff)
Don't use "E" as a signal or source prefix. Update Batman to match flat theme.
-rw-r--r--batman/src/batman.c13
-rw-r--r--batman/theme/bat_base.pngbin155 -> 556 bytes
-rw-r--r--batman/theme/bat_bottom0.pngbin1719 -> 0 bytes
-rw-r--r--batman/theme/bat_shadow.pngbin1626 -> 0 bytes
-rw-r--r--batman/theme/bat_top0.pngbin2745 -> 0 bytes
-rw-r--r--batman/theme/batman.edc220
-rw-r--r--batman/theme/batman_overlay.pngbin694 -> 0 bytes
-rw-r--r--batman/theme/glow_med_white.pngbin348 -> 0 bytes
-rw-r--r--cpuclock/src/cpuclock.c14
-rw-r--r--cpuclock/theme/cpuclock.edc4
-rw-r--r--thermal/src/thermal.c4
-rw-r--r--thermal/theme/thermal.edc4
12 files changed, 65 insertions, 194 deletions
diff --git a/batman/src/batman.c b/batman/src/batman.c
index 8dff1b8..1b1e24e 100644
--- a/batman/src/batman.c
+++ b/batman/src/batman.c
@@ -187,16 +187,16 @@ _batman_update(Instance *inst, int full, int time_left, Eina_Bool have_battery,
187 { 187 {
188 if (have_power && (full < 100)) 188 if (have_power && (full < 100))
189 elm_layout_signal_emit(inst->cfg->batman.o_gadget, 189 elm_layout_signal_emit(inst->cfg->batman.o_gadget,
190 "e,state,charging", 190 "batman,state,charging",
191 "e"); 191 "batman");
192 else 192 else
193 { 193 {
194 elm_layout_signal_emit(inst->cfg->batman.o_gadget, 194 elm_layout_signal_emit(inst->cfg->batman.o_gadget,
195 "e,state,discharging", 195 "batman,state,discharging",
196 "e"); 196 "batman");
197 if (inst->popup_battery) 197 if (inst->popup_battery)
198 elm_layout_signal_emit(inst->popup_battery, 198 elm_layout_signal_emit(inst->popup_battery,
199 "e,state,discharging", "e"); 199 "batman,state,discharging", "batman");
200 } 200 }
201 } 201 }
202 if (have_battery) 202 if (have_battery)
@@ -496,7 +496,8 @@ _batman_warning_popup(Instance *inst EINA_UNUSED, int t EINA_UNUSED, double perc
496 evas_object_show(inst->warning); 496 evas_object_show(inst->warning);
497 497
498 _batman_face_level_set(inst->popup_battery, percent); 498 _batman_face_level_set(inst->popup_battery, percent);
499 edje_object_signal_emit(inst->popup_battery, "e,state,discharging", "e"); 499 edje_object_signal_emit(inst->popup_battery, "batman,state,discharging",
500 "batman");
500 501
501 if ((inst->cfg->batman.alert_timeout > 0) && 502 if ((inst->cfg->batman.alert_timeout > 0) &&
502 (!inst->cfg->batman.alert_timer)) 503 (!inst->cfg->batman.alert_timer))
diff --git a/batman/theme/bat_base.png b/batman/theme/bat_base.png
index 7ec3421..da73887 100644
--- a/batman/theme/bat_base.png
+++ b/batman/theme/bat_base.png
Binary files differ
diff --git a/batman/theme/bat_bottom0.png b/batman/theme/bat_bottom0.png
deleted file mode 100644
index 277972e..0000000
--- a/batman/theme/bat_bottom0.png
+++ /dev/null
Binary files differ
diff --git a/batman/theme/bat_shadow.png b/batman/theme/bat_shadow.png
deleted file mode 100644
index 13448db..0000000
--- a/batman/theme/bat_shadow.png
+++ /dev/null
Binary files differ
diff --git a/batman/theme/bat_top0.png b/batman/theme/bat_top0.png
deleted file mode 100644
index 7a15b96..0000000
--- a/batman/theme/bat_top0.png
+++ /dev/null
Binary files differ
diff --git a/batman/theme/batman.edc b/batman/theme/batman.edc
index 04ceb31..86d52cb 100644
--- a/batman/theme/batman.edc
+++ b/batman/theme/batman.edc
@@ -2,187 +2,57 @@ collections {
2 2
3group { name: "batman/main"; 3group { name: "batman/main";
4 alias: "batman/main_vert"; 4 alias: "batman/main_vert";
5 images.image: "bat_shadow.png" COMP;
6 images.image: "bat_base.png" COMP; 5 images.image: "bat_base.png" COMP;
7 images.image: "bat_bottom0.png" COMP; 6 min: 16 16;
8 images.image: "bat_top0.png" COMP; 7 max: 160 160;
9 images.image: "batman_overlay.png" COMP;
10 images.image: "glow_med_white.png" COMP;
11 script { 8 script {
12 public message(Msg_Type:type, id, ...) { 9 public message(Msg_Type:type, id, ...) {
13 if ((type == MSG_FLOAT) && (id == 1)) { 10 if ((type == MSG_FLOAT) && (id == 1)) {
14 new Float:val; 11 new Float:val = getfarg(2);
15 new r = 51, g = 153, b = 255; 12 val = 0.05 + (0.9 * (1.0 - val));
16 new lr = 255, lg = 0, lb = 0; 13 custom_state(PART:"fill_clip", "default", 0.0);
17 14 set_state_val(PART:"fill_clip", STATE_REL1, 0.0, val);
18 val = getfarg(2); 15 set_state(PART:"fill_clip", "custom", 0.0);
19 if (val < 0.35) {
20 new Float:val1, Float:val2;
21
22 val1 = (val - 0.10) / 0.25;
23 val2 = 1.0 - val1;
24 r = round((r * val1) + (lr * val2), ROUND);
25 g = round((g * val1) + (lg * val2), ROUND);
26 b = round((b * val1) + (lb * val2), ROUND);
27 }
28 custom_state(PART:"fill", "default", 0.0);
29 set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
30 set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
31 set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
32 set_state_val(PART:"fill", STATE_REL1, 0.0, 1.0 - val);
33 set_state(PART:"fill", "custom", 0.0);
34 } 16 }
35 } 17 }
36 } 18 }
37 parts { 19 parts {
38 part { name: "fade_clip"; type: RECT;
39 description { state: "default" 0.0;
40 color: 255 255 255 255;
41 }
42 description { state: "faded" 0.0;
43 color: 128 128 128 255;
44 }
45 }
46 part { name: "pulse_clip"; type: RECT; 20 part { name: "pulse_clip"; type: RECT;
47 clip_to: "fade_clip";
48 description { state: "default" 0.0;
49 color: 255 255 255 255;
50 }
51 description { state: "faded" 1.0;
52 color: 255 255 255 255;
53 }
54 description { state: "faded" 0.0;
55 color: 255 255 255 64;
56 }
57 }
58 part { name: "fill_region"; type: SPACER;
59 description { state: "default" 0.0;
60 rel1.to: "bg";
61 rel1.offset: 1 0;
62 rel2.to: "bg";
63 rel2.offset: -2 -1;
64 }
65 }
66 part { name: "pwr"; type: SPACER;
67 description { state: "default" 0.0; 21 description { state: "default" 0.0;
68 rel1.to: "bg"; 22 rel1.to: "bg";
69 rel1.relative: 0.40 0.40;
70 rel2.to: "bg"; 23 rel2.to: "bg";
71 rel2.relative: 0.60 0.60;
72 aspect: 1.0 1.0; aspect_preference: BOTH;
73 step: 5 5;
74 } 24 }
75 } 25 description { state: "faded" 0.0;
76 part { name: "base"; type: SPACER; 26 inherit: "default" 0.0;
77 description { state: "default" 0.0; 27 color: 255 255 255 128;
78 aspect: 1.0 1.0; aspect_preference: BOTH;
79 } 28 }
80 } 29 }
81 part { name: "shadow"; 30 part { name: "fill_clip"; type: RECT;
82 clip_to: "pulse_clip"; 31 clip_to: "pulse_clip";
83 description { state: "default" 0.0; 32 description { state: "default" 0.0;
84 rel1.to: "top"; 33 rel1.to: "bg";
85 rel1.offset: -4 0; 34 rel2.to: "bg";
86 rel2.to: "bottom";
87 rel2.offset: 3 3;
88 image.normal: "bat_shadow.png";
89 } 35 }
90 } 36 }
91 part { name: "bg"; 37 part { name: "bg";
92 clip_to: "pulse_clip"; 38 clip_to: "pulse_clip";
93 description { state: "default" 0.0; 39 description { state: "default" 0.0;
94 rel1.to: "top"; 40 aspect: 1.0 1.0; aspect_preference: BOTH;
95 rel1.relative: 0.0 1.0;
96 rel2.to: "bottom";
97 rel2.relative: 1.0 0.0;
98 image.normal: "bat_base.png"; 41 image.normal: "bat_base.png";
99 fill.smooth: 0; 42 color: 0 0 0 64;
100 } 43 }
101 } 44 }
102 part { name: "top"; 45 part { name: "fill";
103 clip_to: "pulse_clip"; 46 clip_to: "fill_clip";
104 description { state: "default" 0.0;
105 rel1.to: "base";
106 rel1.offset: 6 4;
107 rel2.to: "base";
108 rel2.offset: -7 4;
109 rel2.relative: 1.0 0.0;
110 aspect: (112/24) (112/24); aspect_preference: HORIZONTAL;
111 align: 0.5 0.0;
112 image.normal: "bat_top0.png";
113 }
114 }
115 part { name: "bottom";
116 clip_to: "pulse_clip";
117 description { state: "default" 0.0;
118 rel1.to: "base";
119 rel1.offset: 6 -5;
120 rel2.to: "base";
121 rel2.offset: -7 -5;
122 aspect: (112/12) (112/12); aspect_preference: HORIZONTAL;
123 align: 0.5 1.0;
124 image.normal: "bat_bottom0.png";
125 }
126 }
127 part { name: "fill"; mouse_events: 0;
128 clip_to: "pulse_clip";
129 description { state: "default" 0.0;
130 rel1.to: "fill_region";
131 rel1.offset: -5 -5;
132 rel2.to: "fill_region";
133 rel2.offset: 4 4;
134 image.normal: "glow_med_white.png";
135 image.border: 10 10 10 10;
136 color: 51 153 255 255;
137 }
138 }
139 part { name: "overlay";
140 clip_to: "pulse_clip";
141 description { state: "default" 0.0; 47 description { state: "default" 0.0;
142 rel1.to: "bg"; 48 rel1.to: "bg";
143 rel1.offset: 0 0;
144 rel2.to: "bg"; 49 rel2.to: "bg";
145 rel2.offset: -1 -1; 50 image.normal: "bat_base.png";
146 image.normal: "batman_overlay.png"; 51 color: 160 160 160 255;
147 image.border: 0 0 7 7;
148 }
149 }
150 part { name: "pwr1";
151 clip_to: "pulse_clip";
152 description { state: "default" 0.0;
153 rel1.to: "pwr";
154 rel1.relative: (2/5) 0.0;
155 rel1.offset: -5 -5;
156 rel2.to: "pwr";
157 rel2.relative: (3/5) 1.0;
158 rel2.offset: 4 4;
159 image.normal: "glow_med_white.png";
160 image.border: 5 5 5 5;
161 fill.smooth: 0;
162 visible: 0;
163 }
164 description { state: "visible" 0.0;
165 inherit: "default" 0.0;
166 visible: 1;
167 }
168 }
169 part { name: "pwr2";
170 clip_to: "pulse_clip";
171 description { state: "default" 0.0;
172 rel1.to: "pwr";
173 rel1.relative: 0.0 (2/5);
174 rel1.offset: -5 -5;
175 rel2.to: "pwr";
176 rel2.relative: 1.0 (3/5);
177 rel2.offset: 4 4;
178 image.normal: "glow_med_white.png";
179 image.border: 5 5 5 5;
180 fill.smooth: 0;
181 visible: 0;
182 } 52 }
183 description { state: "visible" 0.0; 53 description { state: "charging" 0.0;
184 inherit: "default" 0.0; 54 inherit: "default" 0.0;
185 visible: 1; 55 color: 51 153 255 255;
186 } 56 }
187 } 57 }
188 part { name: "over"; type: RECT; 58 part { name: "over"; type: RECT;
@@ -193,35 +63,37 @@ group { name: "batman/main";
193 } 63 }
194 programs { 64 programs {
195 program { 65 program {
196 signal: "e,state,charging"; source: "e"; 66 signal: "batman,state,charging"; source: "batman";
197 action: STATE_SET "visible" 0.0; 67 action: STATE_SET "charging" 0.0;
198 target: "pwr1"; 68 target: "fill";
199 target: "pwr2";
200 } 69 }
201 program { 70 program {
202 signal: "e,state,discharging"; source: "e"; 71 signal: "batman,state,discharging"; source: "batman";
203 action: STATE_SET "default" 0.0; 72 action: STATE_SET "default" 0.0;
204 target: "pwr1"; 73 target: "fill";
205 target: "pwr2";
206 }
207 program {
208 signal: "e,state,unknown"; source: "e";
209 action: STATE_SET "faded" 0.0;
210 target: "fade_clip";
211 } 74 }
212 program { name: "pulse"; 75 program { name: "pulse";
213 signal: "e,action,pulse,start"; source: "e"; 76 signal: "batman,action,pulse,start"; source: "batman";
214 action: STATE_SET "faded" 0.0; 77 action: STATE_SET "faded" 0.0;
215 transition: ACCELERATE 0.3; 78 transition: ACCELERATE 0.3;
216 after: "pulse2"; 79 after: "pulse2";
217 target: "pulse_clip"; 80 target: "pulse_clip";
218 } 81 }
219 program { name: "pulse2"; 82 program { name: "pulse2";
220 action: STATE_SET "faded" 1.0; transition: ACCELERATE 0.1; 83 action: STATE_SET "default" 0.0;
84 transition: ACCELERATE 0.1;
221 target: "pulse_clip"; 85 target: "pulse_clip";
86 after: "pulse";
222 } 87 }
223 program { 88 program {
224 signal: "e,action,pulse,stop"; source: "e"; 89 signal: "batman,action,pulse,stop"; source: "batman";
90 action: ACTION_STOP;
91 target: "pulse";
92 target: "pulse2";
93 after: "pulse3";
94 }
95 program { name: "pulse3";
96 signal: "batman,action,pulse,stop"; source: "batman";
225 action: STATE_SET "default" 0.0; 97 action: STATE_SET "default" 0.0;
226 target: "pulse_clip"; 98 target: "pulse_clip";
227 } 99 }
@@ -229,24 +101,23 @@ group { name: "batman/main";
229} 101}
230 102
231group { name: "batman/popup"; 103group { name: "batman/popup";
232 min: 240 60; 104 min: 320 60;
233 parts { 105 parts {
234 part { name: "e.swallow.batman"; type: SWALLOW; 106 part { name: "e.swallow.battery"; type: SWALLOW;
235 description { state: "default" 0.0; 107 description { state: "default" 0.0;
236 aspect: 1.0 1.0; aspect_preference: VERTICAL; 108 aspect: 1.0 1.0; aspect_preference: VERTICAL;
237 min: 1 1; 109 min: 1 1;
238 max: 160 160; 110 max: 240 160;
239 align: 0.0 0.5; 111 align: 0.0 0.5;
240 } 112 }
241 } 113 }
242 part { name: "e.text.title"; type: TEXT; 114 part { name: "e.text.title"; type: TEXT;
243 effect: SHADOW BOTTOM;
244 scale: 1; 115 scale: 1;
245 description { state: "default" 0.0; 116 description { state: "default" 0.0;
246 rel1.relative: 1.0 0.0; 117 rel1.relative: 1.0 0.0;
247 rel1.to_x: "e.swallow.batman"; 118 rel1.to_x: "e.swallow.battery";
248 rel2.relative: 1.0 0.5; 119 rel2.relative: 1.0 0.5;
249 color: 255 255 255 255; 120 color: 160 160 160 255;
250 text { font: "Sans:style=Bold"; size: 10; 121 text { font: "Sans:style=Bold"; size: 10;
251 text: "Your battery is low!"; 122 text: "Your battery is low!";
252 min: 1 1; 123 min: 1 1;
@@ -256,12 +127,11 @@ group { name: "batman/popup";
256 } 127 }
257 } 128 }
258 part { name: "e.text.label"; type: TEXT; 129 part { name: "e.text.label"; type: TEXT;
259 effect: SHADOW BOTTOM;
260 scale: 1; 130 scale: 1;
261 description { state: "default" 0.0; 131 description { state: "default" 0.0;
262 rel1.relative: 1.0 0.5; 132 rel1.relative: 1.0 0.5;
263 rel1.to_x: "e.swallow.batman"; 133 rel1.to_x: "e.swallow.battery";
264 color: 255 255 255 255; 134 color: 160 160 160 255;
265 text { font: "Sans"; size: 10; 135 text { font: "Sans"; size: 10;
266 text: "AC power is recommended."; 136 text: "AC power is recommended.";
267 min: 1 1; 137 min: 1 1;
diff --git a/batman/theme/batman_overlay.png b/batman/theme/batman_overlay.png
deleted file mode 100644
index 44227ba..0000000
--- a/batman/theme/batman_overlay.png
+++ /dev/null
Binary files differ
diff --git a/batman/theme/glow_med_white.png b/batman/theme/glow_med_white.png
deleted file mode 100644
index 5351a21..0000000
--- a/batman/theme/glow_med_white.png
+++ /dev/null
Binary files differ
diff --git a/cpuclock/src/cpuclock.c b/cpuclock/src/cpuclock.c
index 6b88f06..9a5bb29 100644
--- a/cpuclock/src/cpuclock.c
+++ b/cpuclock/src/cpuclock.c
@@ -118,12 +118,12 @@ _cpuclock_face_cb_set_frequency(void *data, Evas_Object *obj EINA_UNUSED, const
118 { 118 {
119 if (inst->cfg->cpuclock.status->cur_frequency == (long)l->data) 119 if (inst->cfg->cpuclock.status->cur_frequency == (long)l->data)
120 { 120 {
121 if (!strcmp(emission, "e,action,frequency,increase")) 121 if (!strcmp(emission, "cpuclock,action,frequency,increase"))
122 { 122 {
123 if (l->next) next_frequency = (long)l->next->data; 123 if (l->next) next_frequency = (long)l->next->data;
124 break; 124 break;
125 } 125 }
126 else if (!strcmp(emission, "e,action,frequency,decrease")) 126 else if (!strcmp(emission, "cpuclock,action,frequency,decrease"))
127 { 127 {
128 if (l->prev) next_frequency = (long)l->prev->data; 128 if (l->prev) next_frequency = (long)l->prev->data;
129 break; 129 break;
@@ -855,9 +855,9 @@ _cpuclock_cb_frequency_update_poll(void *data)
855 _cpuclock_face_update_current(inst); 855 _cpuclock_face_update_current(inst);
856 } 856 }
857 if (inst->cfg->cpuclock.status->active == 0) 857 if (inst->cfg->cpuclock.status->active == 0)
858 elm_layout_signal_emit(inst->cfg->cpuclock.o_gadget, "e,state,disabled", "e"); 858 elm_layout_signal_emit(inst->cfg->cpuclock.o_gadget, "cpuclock,state,disabled", "cpuclock");
859 else if (inst->cfg->cpuclock.status->active == 1) 859 else if (inst->cfg->cpuclock.status->active == 1)
860 elm_layout_signal_emit(inst->cfg->cpuclock.o_gadget, "e,state,enabled", "e"); 860 elm_layout_signal_emit(inst->cfg->cpuclock.o_gadget, "cpuclock,state,enabled", "cpuclock");
861 861
862 if (!init_set) 862 if (!init_set)
863 { 863 {
@@ -957,11 +957,11 @@ sysinfo_cpuclock_create(Evas_Object *parent, Instance *inst)
957 evas_object_event_callback_add(inst->cfg->cpuclock.o_gadget, 957 evas_object_event_callback_add(inst->cfg->cpuclock.o_gadget,
958 EVAS_CALLBACK_MOUSE_DOWN, 958 EVAS_CALLBACK_MOUSE_DOWN,
959 _cpuclock_mouse_down_cb, inst); 959 _cpuclock_mouse_down_cb, inst);
960 edje_object_signal_callback_add(elm_layout_edje_get(inst->cfg->cpuclock.o_gadget), "e,action,governor,next", "*", 960 edje_object_signal_callback_add(elm_layout_edje_get(inst->cfg->cpuclock.o_gadget), "cpuclock,action,governor,next", "*",
961 _cpuclock_face_cb_set_governor, inst); 961 _cpuclock_face_cb_set_governor, inst);
962 edje_object_signal_callback_add(elm_layout_edje_get(inst->cfg->cpuclock.o_gadget), "e,action,frequency,increase", "*", 962 edje_object_signal_callback_add(elm_layout_edje_get(inst->cfg->cpuclock.o_gadget), "cpuclock,action,frequency,increase", "*",
963 _cpuclock_face_cb_set_frequency, inst); 963 _cpuclock_face_cb_set_frequency, inst);
964 edje_object_signal_callback_add(elm_layout_edje_get(inst->cfg->cpuclock.o_gadget), "e,action,frequency,decrease", "*", 964 edje_object_signal_callback_add(elm_layout_edje_get(inst->cfg->cpuclock.o_gadget), "cpuclock,action,frequency,decrease", "*",
965 _cpuclock_face_cb_set_frequency, inst); 965 _cpuclock_face_cb_set_frequency, inst);
966 evas_object_event_callback_add(inst->cfg->cpuclock.o_gadget, EVAS_CALLBACK_RESIZE, _cpuclock_resize_cb, inst); 966 evas_object_event_callback_add(inst->cfg->cpuclock.o_gadget, EVAS_CALLBACK_RESIZE, _cpuclock_resize_cb, inst);
967 evas_object_show(inst->cfg->cpuclock.o_gadget); 967 evas_object_show(inst->cfg->cpuclock.o_gadget);
diff --git a/cpuclock/theme/cpuclock.edc b/cpuclock/theme/cpuclock.edc
index 86c954e..267ca29 100644
--- a/cpuclock/theme/cpuclock.edc
+++ b/cpuclock/theme/cpuclock.edc
@@ -330,12 +330,12 @@ group { name: "cpuclock/main";
330 } 330 }
331 programs { 331 programs {
332 program { 332 program {
333 signal: "e,state,enabled"; source: "e"; 333 signal: "cpuclock,state,enabled"; source: "cpuclock";
334 action: STATE_SET "default" 0.0; 334 action: STATE_SET "default" 0.0;
335 target: "fade_clip"; 335 target: "fade_clip";
336 } 336 }
337 program { 337 program {
338 signal: "e,state,disabled"; source: "e"; 338 signal: "cpuclock,state,disabled"; source: "cpuclock";
339 action: STATE_SET "faded" 0.0; 339 action: STATE_SET "faded" 0.0;
340 target: "fade_clip"; 340 target: "fade_clip";
341 } 341 }
diff --git a/thermal/src/thermal.c b/thermal/src/thermal.c
index 481376a..8261d78 100644
--- a/thermal/src/thermal.c
+++ b/thermal/src/thermal.c
@@ -39,7 +39,7 @@ _thermal_apply(Instance *inst, int temp)
39 if (!inst->cfg->thermal.have_temp) 39 if (!inst->cfg->thermal.have_temp)
40 { 40 {
41 /* enable therm object */ 41 /* enable therm object */
42 elm_layout_signal_emit(inst->cfg->thermal.o_gadget, "e,state,known", ""); 42 elm_layout_signal_emit(inst->cfg->thermal.o_gadget, "thermal,state,known", "");
43 inst->cfg->thermal.have_temp = EINA_TRUE; 43 inst->cfg->thermal.have_temp = EINA_TRUE;
44 } 44 }
45 45
@@ -52,7 +52,7 @@ _thermal_apply(Instance *inst, int temp)
52 if (inst->cfg->thermal.have_temp) 52 if (inst->cfg->thermal.have_temp)
53 { 53 {
54 /* disable therm object */ 54 /* disable therm object */
55 elm_layout_signal_emit(inst->cfg->thermal.o_gadget, "e,state,unknown", ""); 55 elm_layout_signal_emit(inst->cfg->thermal.o_gadget, "thermal,state,unknown", "");
56 _thermal_face_level_set(inst, 0.5); 56 _thermal_face_level_set(inst, 0.5);
57 inst->cfg->thermal.have_temp = EINA_FALSE; 57 inst->cfg->thermal.have_temp = EINA_FALSE;
58 } 58 }
diff --git a/thermal/theme/thermal.edc b/thermal/theme/thermal.edc
index 1a177f0..287a79a 100644
--- a/thermal/theme/thermal.edc
+++ b/thermal/theme/thermal.edc
@@ -77,12 +77,12 @@ group { name: "thermal/main";
77 } 77 }
78 programs { 78 programs {
79 program { 79 program {
80 signal: "e,state,known"; source: "e"; 80 signal: "thermal,state,known"; source: "thermal";
81 action: STATE_SET "default" 0.0; 81 action: STATE_SET "default" 0.0;
82 target: "fade_clip"; 82 target: "fade_clip";
83 } 83 }
84 program { 84 program {
85 signal: "e,state,unknown"; source: "e"; 85 signal: "thermal,state,unknown"; source: "thermal";
86 action: STATE_SET "faded" 0.0; 86 action: STATE_SET "faded" 0.0;
87 target: "fade_clip"; 87 target: "fade_clip";
88 } 88 }