Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : cpu
Dir : e_modules/cpu
Modified Files:
e_mod_main.h e_mod_main.c e_mod_config.c
Log Message:
Cpu module now shows icon in config dialog from modules config panel.
===================================================================
RCS file: /cvs/e/e_modules/cpu/e_mod_main.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_main.h 4 Jun 2006 09:58:41 -0000 1.9
+++ e_mod_main.h 3 Jul 2006 13:36:59 -0000 1.10
@@ -25,7 +25,7 @@
E_Menu *config_menu;
Cpu_Face *face;
Config *conf;
-
+ E_Module *module;
E_Config_DD *conf_edd;
E_Config_Dialog *cfd;
};
===================================================================
RCS file: /cvs/e/e_modules/cpu/e_mod_main.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_mod_main.c 2 Jul 2006 19:06:08 -0000 1.20
+++ e_mod_main.c 3 Jul 2006 13:36:59 -0000 1.21
@@ -41,7 +41,7 @@
c = _cpu_init(m);
if (!c)
return NULL;
-
+ c->module = m;
return c;
}
@@ -198,6 +198,7 @@
{
_cpu_face_free(c->face);
+ c->module = NULL;
E_FREE(c->conf);
E_CONFIG_DD_FREE(c->conf_edd);
E_FREE(c);
===================================================================
RCS file: /cvs/e/e_modules/cpu/e_mod_config.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_config.c 5 Apr 2006 17:48:48 -0000 1.4
+++ e_mod_config.c 3 Jul 2006 13:36:59 -0000 1.5
@@ -23,7 +23,8 @@
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
-
+ char buf[4096];
+
v = E_NEW(E_Config_Dialog_View, 1);
v->create_cfdata = _create_data;
@@ -31,7 +32,8 @@
v->basic.apply_cfdata = _basic_apply_data;
v->basic.create_widgets = _basic_create_widgets;
- cfd = e_config_dialog_new(con, D_("Cpu Configuration"), NULL, 0, v, c);
+ snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(c->module));
+ cfd = e_config_dialog_new(con, D_("Cpu Configuration"), buf, 0, v, c);
c->cfd = cfd;
}
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs