Enlightenment CVS committal
Author : onefang
Project : e_modules
Module : bling
Dir : e_modules/bling
Modified Files:
e_mod_config.c e_mod_main.c e_mod_main.h
Log Message:
Bling module now shows icon in config dialog from modules config panel.
===================================================================
RCS file: /cvs/e/e_modules/bling/e_mod_config.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_config.c 25 Jun 2006 05:56:34 -0000 1.2
+++ e_mod_config.c 3 Jul 2006 20:19:20 -0000 1.3
@@ -32,6 +32,7 @@
{
E_Config_Dialog *cfd;
E_Config_Dialog_View *v;
+ char buf[4096];
v = E_NEW(E_Config_Dialog_View, 1);
@@ -42,7 +43,9 @@
v->advanced.apply_cfdata = _advanced_apply_data;
v->advanced.create_widgets = _advanced_create_widgets;
- cfd = e_config_dialog_new(con, _("Bling Configuration"), NULL, 0, v, b);
+ snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(b->module));
+ cfd = e_config_dialog_new(con, D_("BlingConfiguration"), buf, 0, v, b);
+
b->config_dialog = cfd;
}
===================================================================
RCS file: /cvs/e/e_modules/bling/e_mod_main.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_main.c 2 Jul 2006 19:06:08 -0000 1.5
+++ e_mod_main.c 3 Jul 2006 20:19:20 -0000 1.6
@@ -29,6 +29,8 @@
b = _bling_init(m);
if (!b) return NULL;
+ b->module = m;
+
return b;
}
@@ -86,6 +88,7 @@
_bling_shutdown(Bling *b)
{
composite_shutdown();
+ b->module = NULL;
free(b->config);
E_CONFIG_DD_FREE(b->conf_edd);
free(b);
===================================================================
RCS file: /cvs/e/e_modules/bling/e_mod_main.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_main.h 25 Jun 2006 05:56:34 -0000 1.2
+++ e_mod_main.h 3 Jul 2006 20:19:20 -0000 1.3
@@ -40,6 +40,7 @@
struct _Bling
{
E_Menu *config_menu;
+ E_Module *module;
E_Config_DD *conf_edd;
Config *config;
E_Config_Dialog *config_dialog;
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