Enlightenment CVS committal Author : handyande Project : misc Module : engage
Dir : misc/engage/src/module Modified Files: e_mod_config.c e_mod_main.c e_mod_main.h Log Message: Use module icon in config dialog =================================================================== RCS file: /cvs/e/misc/engage/src/module/e_mod_config.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- e_mod_config.c 12 Mar 2006 16:56:38 -0000 1.5 +++ e_mod_config.c 26 Jul 2006 17:42:44 -0000 1.6 @@ -35,6 +35,8 @@ v = E_NEW(E_Config_Dialog_View, 1); if (v) { + char buf[4096]; + v->create_cfdata = _create_data; v->free_cfdata = _free_data; v->basic.apply_cfdata = _basic_apply_data; @@ -42,7 +44,8 @@ v->advanced.apply_cfdata = _advanced_apply_data; v->advanced.create_widgets = _advanced_create_widgets; - cfd = e_config_dialog_new(con, "Engage Configuration", NULL, 0, v, eb); + snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(eb->engage->module)); + cfd = e_config_dialog_new(con, "Engage Configuration", buf, 0, v, eb); eb->cfd = cfd; } } =================================================================== RCS file: /cvs/e/misc/engage/src/module/e_mod_main.c,v retrieving revision 1.116 retrieving revision 1.117 diff -u -3 -r1.116 -r1.117 --- e_mod_main.c 2 Jul 2006 20:01:44 -0000 1.116 +++ e_mod_main.c 26 Jul 2006 17:42:44 -0000 1.117 @@ -151,6 +151,7 @@ /* actually init engage */ e = _engage_new(); // m->config_menu = e->config_menu; + e->module = m; return e; } =================================================================== RCS file: /cvs/e/misc/engage/src/module/e_mod_main.h,v retrieving revision 1.34 retrieving revision 1.35 diff -u -3 -r1.34 -r1.35 --- e_mod_main.h 6 Jun 2006 15:06:09 -0000 1.34 +++ e_mod_main.h 26 Jul 2006 17:42:44 -0000 1.35 @@ -38,8 +38,9 @@ E_App *apps; Evas_List *bars; E_Menu *config_menu; - + Config *conf; + E_Module *module; }; struct _Engage_Tray ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs