mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Fix checked checkboxes drawing as unchecked on the Crux theme. Not part of the build.
This commit is contained in:
parent
2dc8e8d0a0
commit
8abd55e59f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user