Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_color_classes.c Log Message: Set the color wells to proper default values. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_color_classes.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- e_int_config_color_classes.c 11 Oct 2006 18:45:04 -0000 1.21 +++ e_int_config_color_classes.c 11 Oct 2006 23:21:33 -0000 1.22 @@ -133,7 +133,22 @@ cfdata->color1 = calloc(1, sizeof(E_Color)); cfdata->color2 = calloc(1, sizeof(E_Color)); cfdata->color3 = calloc(1, sizeof(E_Color)); - + cfdata->color1->r = 255; + cfdata->color1->g = 255; + cfdata->color1->b = 255; + cfdata->color1->a = 255; + cfdata->color2->r = 0; + cfdata->color2->g = 0; + cfdata->color2->b = 0; + cfdata->color2->a = 255; + cfdata->color3->r = 0; + cfdata->color3->g = 0; + cfdata->color3->b = 0; + cfdata->color3->a = 255; + e_color_update_rgb(cfdata->color1); + e_color_update_rgb(cfdata->color2); + e_color_update_rgb(cfdata->color3); + _fill_data_hash(cfdata, _wm_hash); _fill_data_hash(cfdata, _wid_hash); _fill_data_hash(cfdata, _mod_hash); @@ -373,22 +388,13 @@ if (!c->enabled) { if (cc) - e_color_class_del(cc->name); + e_color_class_del(c->key); } else { - if (cc) - { - e_color_class_set(cc->name, c->r, c->g, c->b, c->a, - c->r2, c->g2, c->b2, c->a2, - c->r3, c->g3, c->b3, c->a3); - } - else - { - e_color_class_set(c->key, c->r, c->g, c->b, c->a, - c->r2, c->g2, c->b2, c->a2, - c->r3, c->g3, c->b3, c->a3); - } + e_color_class_set(c->key, c->r, c->g, c->b, c->a, + c->r2, c->g2, c->b2, c->a2, + c->r3, c->g3, c->b3, c->a3); } } return 1; ------------------------------------------------------------------------- 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