mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Propagate insensitive state to cell renderers in GtkCellView
If the cell view is insensitive, it needs to properly propagate this insensitive state to the cell renderers using cell renderer flags. Merged from maemo-gtk.
This commit is contained in:
parent
3f306a4042
commit
6f20cf691e
@ -438,6 +438,8 @@ gtk_cell_view_expose (GtkWidget *widget,
|
||||
|
||||
if (GTK_WIDGET_STATE (widget) == GTK_STATE_PRELIGHT)
|
||||
state = GTK_CELL_RENDERER_PRELIT;
|
||||
else if (GTK_WIDGET_STATE (widget) == GTK_STATE_INSENSITIVE)
|
||||
state = GTK_CELL_RENDERER_INSENSITIVE;
|
||||
else
|
||||
state = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user