Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_shelf.c Log Message: Avoid extra calls to e_shelf_config_init as it destroys and recreates all shelves every time. Only call it on an add. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_shelf.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -3 -r1.19 -r1.20 --- e_int_config_shelf.c 24 Jul 2006 18:10:01 -0000 1.19 +++ e_int_config_shelf.c 26 Jul 2006 19:10:20 -0000 1.20 @@ -103,8 +103,6 @@ e_widget_ilist_clear(cfdata->o_list); e_widget_ilist_go(cfdata->o_list); - - e_shelf_config_init(); for (l = e_shelf_list(); l; l = l->next) { @@ -199,7 +197,7 @@ E_Config_Shelf *cfg; E_Container *con; E_Zone *zone; - + cfdata = data; if (!cfdata) return; @@ -218,9 +216,9 @@ cfg->style = evas_stringshare_add("default"); cfg->size = 40; e_config->shelves = evas_list_append(e_config->shelves, cfg); + e_config_save_queue(); e_shelf_config_init(); - e_config_save_queue(); _ilist_fill(cfdata); } ------------------------------------------------------------------------- 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