(re)hello I found a color problem under GTK 1.2 it s about the color of the shadow of a label when its state is INSENSITIVE check the following line 1256 in gtkstyle.C ... if (detail && !strcmp (detail, "label")) { if (state_type == GTK_STATE_INSENSITIVE) gdk_draw_line (window, style->white_gc, x1 + 1, y + 1, x2 + 1, y + 1);
gdk_draw_line (window, style->fg_gc[state_type], x1, y, x2, y); } ... this code uses white gc to draw shadow so it s always white!! my apps allows user to change forms color (fg bg and base ) with gtk_widget_push_style() and whatever he choosed the shadow of an insensitive label is always white; on a dark background it becomes really annoying... we may change white_gc by bg_gc or fg_gc in this line of code sorry for being so lazy but i have really no free time :( i just wanted you to know this problem ; i m using gtk 1.2 and i dunno if the problem is still here in gtk 2.0 ?? regards ************************************************************************* Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. SG Asset Management et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. Découvrez l'offre et les services de SG Asset Management sur le site www.sgam.fr ******** This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SG Asset Management nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ************************************************************************* _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list