forked from AuroraMiddleware/gtk
Draw the background of rows insensitive when the treeview is insensitive.
2005-05-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the background of rows insensitive when the treeview is insensitive. (pointed out by Billy Biggs)
This commit is contained in:
parent
844ab25ea4
commit
083e509487
@ -1,5 +1,9 @@
|
|||||||
2005-05-25 Matthias Clasen <mclasen@redhat.com>
|
2005-05-25 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the
|
||||||
|
background of rows insensitive when the treeview is insensitive.
|
||||||
|
(pointed out by Billy Biggs)
|
||||||
|
|
||||||
* demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
|
* demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
|
||||||
and DND, and clipboard persistency.
|
and DND, and clipboard persistency.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2005-05-25 Matthias Clasen <mclasen@redhat.com>
|
2005-05-25 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the
|
||||||
|
background of rows insensitive when the treeview is insensitive.
|
||||||
|
(pointed out by Billy Biggs)
|
||||||
|
|
||||||
* demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
|
* demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
|
||||||
and DND, and clipboard persistency.
|
and DND, and clipboard persistency.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2005-05-25 Matthias Clasen <mclasen@redhat.com>
|
2005-05-25 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the
|
||||||
|
background of rows insensitive when the treeview is insensitive.
|
||||||
|
(pointed out by Billy Biggs)
|
||||||
|
|
||||||
* demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
|
* demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
|
||||||
and DND, and clipboard persistency.
|
and DND, and clipboard persistency.
|
||||||
|
|
||||||
|
@ -3661,7 +3661,9 @@ gtk_tree_view_bin_expose (GtkWidget *widget,
|
|||||||
|
|
||||||
g_assert (detail);
|
g_assert (detail);
|
||||||
|
|
||||||
if (flags & GTK_CELL_RENDERER_SELECTED)
|
if (widget->state == GTK_STATE_INSENSITIVE)
|
||||||
|
state = GTK_STATE_INSENSITIVE;
|
||||||
|
else if (flags & GTK_CELL_RENDERER_SELECTED)
|
||||||
state = GTK_STATE_SELECTED;
|
state = GTK_STATE_SELECTED;
|
||||||
else
|
else
|
||||||
state = GTK_STATE_NORMAL;
|
state = GTK_STATE_NORMAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user