summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2017-01-15 16:08:03 +0100
committerDave Andreoli <dave@gurumeditation.it>2017-01-15 16:08:03 +0100
commit0caaf5fabe94f82ce372d98b92b4e6fe6528595c (patch)
treeaa7e1809e319ee2236e58b4ee478b5cc3e665eea
parentf14124583f1c7939fac822a7eca2e4f7a5a165b9 (diff)
net gadget: those signals are not used/needed anymore
all the needed values are already pased in the theme using an edje message
-rw-r--r--src/modules/sysinfo/netstatus/netstatus.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/modules/sysinfo/netstatus/netstatus.c b/src/modules/sysinfo/netstatus/netstatus.c
index 277d2f221..6f715fd17 100644
--- a/src/modules/sysinfo/netstatus/netstatus.c
+++ b/src/modules/sysinfo/netstatus/netstatus.c
@@ -15,22 +15,6 @@ _netstatus_face_update(Instance *inst)
15{ 15{
16 Edje_Message_Int_Set *msg; 16 Edje_Message_Int_Set *msg;
17 17
18 if (inst->cfg->netstatus.incurrent > 0)
19 {
20 elm_layout_signal_emit(inst->cfg->netstatus.o_gadget, "e,state,received,active", "e");
21 }
22 else
23 {
24 elm_layout_signal_emit(inst->cfg->netstatus.o_gadget, "e,state,received,idle", "e");
25 }
26 if (inst->cfg->netstatus.outcurrent > 0)
27 {
28 elm_layout_signal_emit(inst->cfg->netstatus.o_gadget, "e,state,transmitted,active", "e");
29 }
30 else
31 {
32 elm_layout_signal_emit(inst->cfg->netstatus.o_gadget, "e,state,transmitted,idle", "e");
33 }
34 msg = malloc(sizeof(Edje_Message_Int_Set) + 6 * sizeof(int)); 18 msg = malloc(sizeof(Edje_Message_Int_Set) + 6 * sizeof(int));
35 EINA_SAFETY_ON_NULL_RETURN(msg); 19 EINA_SAFETY_ON_NULL_RETURN(msg);
36 msg->count = 6; 20 msg->count = 6;