Enlightenment CVS committal Author : devilhorns Project : e_modules Module : wlan
Dir : e_modules/wlan Modified Files: e_mod_config.c e_mod_main.c e_mod_main.h Log Message: Update some e_modules to use module icons in their config dialogs. =================================================================== RCS file: /cvs/e/e_modules/wlan/e_mod_config.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- e_mod_config.c 5 Apr 2006 17:48:50 -0000 1.8 +++ e_mod_config.c 3 Jul 2006 07:37:33 -0000 1.9 @@ -28,7 +28,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; @@ -36,7 +37,8 @@ v->basic.apply_cfdata = _basic_apply_data; v->basic.create_widgets = _basic_create_widgets; - cfd = e_config_dialog_new(nf->con, D_("Wlan Configuration"), NULL, 0, v, nf); + snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(nf->wlan->module)); + cfd = e_config_dialog_new(nf->con, D_("Wlan Configuration"), buf, 0, v, nf); nf->wlan->cfd = cfd; } =================================================================== RCS file: /cvs/e/e_modules/wlan/e_mod_main.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- e_mod_main.c 2 Jul 2006 19:06:16 -0000 1.24 +++ e_mod_main.c 3 Jul 2006 07:37:33 -0000 1.25 @@ -41,6 +41,7 @@ if (!n) return NULL; + n->module = m; return n; } @@ -217,6 +218,7 @@ e_object_del(E_OBJECT(n->config_menu)); evas_list_free(n->conf->faces); + n->module = NULL; E_FREE(n->conf); E_FREE(n); } =================================================================== RCS file: /cvs/e/e_modules/wlan/e_mod_main.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- e_mod_main.h 4 Jun 2006 12:54:47 -0000 1.8 +++ e_mod_main.h 3 Jul 2006 07:37:33 -0000 1.9 @@ -28,6 +28,7 @@ Evas_List *faces; Config *conf; E_Config_Dialog *cfd; + E_Module *module; }; struct _Wlan_Face 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs