Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mbar
Dir : e_modules/mbar 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/mbar/e_mod_config.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- e_mod_config.c 7 Apr 2006 09:12:31 -0000 1.4 +++ e_mod_config.c 3 Jul 2006 07:37:32 -0000 1.5 @@ -29,7 +29,8 @@ { E_Config_Dialog *cfd; E_Config_Dialog_View *v; - + char buf[4096]; + v = E_NEW(E_Config_Dialog_View, 1); /* Dialog Methods */ @@ -41,7 +42,8 @@ v->advanced.create_widgets = _advanced_create_widgets; /* Create The Dialog */ - cfd = e_config_dialog_new(con, _("Mount Bar Configuration"), NULL, 0, v, mbar); + snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(mbar->module)); + cfd = e_config_dialog_new(con, _("Mount Bar Configuration"), buf, 0, v, mbar); mbar->config_dialog = cfd; } =================================================================== RCS file: /cvs/e/e_modules/mbar/e_mod_main.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- e_mod_main.c 2 Jul 2006 20:24:53 -0000 1.23 +++ e_mod_main.c 3 Jul 2006 07:37:32 -0000 1.24 @@ -138,6 +138,7 @@ /* actually init mbar */ mb = _mbar_new(); + mb->module = m; return mb; } @@ -379,6 +380,7 @@ #endif evas_list_free(mb->conf->bars); + mb->module = NULL; free(mb->conf); free(mb); } =================================================================== RCS file: /cvs/e/e_modules/mbar/e_mod_main.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- e_mod_main.h 4 Jun 2006 12:59:16 -0000 1.5 +++ e_mod_main.h 3 Jul 2006 07:37:32 -0000 1.6 @@ -41,7 +41,8 @@ E_App *apps; Evas_List *bars; E_Menu *config_menu; - + E_Module *module; + Config *conf; E_Config_Dialog *config_dialog; #ifdef HAVE_LINUX 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