Fix checked checkboxes drawing as unchecked on the Crux theme. Not part of the build.

This commit is contained in:
bryner%netscape.com 2005-08-20 07:12:38 +00:00
parent 2dc8e8d0a0
commit 8abd55e59f

View File

@ -203,6 +203,10 @@ moz_gtk_checkbox_paint(GdkWindow* window, GtkStyle* style,
}
TSOffsetStyleGCs(style, x, y);
// Some themes check the widget state themselves.
gtk_toggle_button_set_active(gCheckboxWidget, selected);
if (isradio)
gtk_paint_option(style, window, state_type, shadow_type, cliprect,
gCheckboxWidget, "radiobutton", x, y, width, height);