aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/e_mod_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-12-17 11:21:54 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-12-17 11:21:54 +0000
commit71040b0586b62f8f9c0d25b5983fa0a6fffc25ae (patch)
tree12b77b0d21a2cc602e91404503a801e924b71a82 /src/modules/temperature/e_mod_main.c
parentdigiclock patch (diff)
downloadenlightenment-71040b0586b62f8f9c0d25b5983fa0a6fffc25ae.tar.gz
module config dialog
SVN revision: 19089
Diffstat (limited to 'src/modules/temperature/e_mod_main.c')
-rw-r--r--src/modules/temperature/e_mod_main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index f6442d7fd..6ed2553c1 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -101,6 +101,21 @@ e_modapi_about(E_Module *m)
return 1;
}
+int
+e_modapi_config(E_Module *m)
+{
+ Temperature *e;
+ Temperature_Face *face;
+
+ e = m->data;
+ if (!e) return 0;
+ if (!e->faces) return 0;
+ face = e->faces->data;
+ if (!face) return 0;
+ e_int_config_temperature(face->con, face->temp);
+ return 1;
+}
+
/* module private routines */
static Temperature *
_temperature_new()