gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): * gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator) Make sure check and option marks are drawn insensitive when the widgets are insensitive. (#92548, patch from Tim Evans) Sun Nov 10 21:25:04 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8 to restore binary compatibility.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
ac116999c2
commit
ee6029e7f4
@ -415,6 +415,8 @@ gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
|
||||
state_type = GTK_STATE_ACTIVE;
|
||||
else if (button->in_button)
|
||||
state_type = GTK_STATE_PRELIGHT;
|
||||
else if (!GTK_WIDGET_SENSITIVE (widget))
|
||||
state_type = GTK_STATE_INSENSITIVE;
|
||||
else
|
||||
state_type = GTK_STATE_NORMAL;
|
||||
|
||||
@ -440,7 +442,7 @@ gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
|
||||
new_area.width, new_area.height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
gtk_paint_check (widget->style, widget->window,
|
||||
state_type, shadow_type,
|
||||
area, widget, "checkbutton",
|
||||
|
||||
Reference in New Issue
Block a user