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:
committed by
Matthias Clasen
parent
7913beee5d
commit
d09bf14bfb
@@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
||||
* gtk/gtkselection.c (gtk_target_list_add_image_targets):
|
||||
Make sure png comes first, otherwise dnd may use bmp by
|
||||
default, loosing transparency.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
||||
* gtk/gtkselection.c (gtk_target_list_add_image_targets):
|
||||
Make sure png comes first, otherwise dnd may use bmp by
|
||||
default, loosing transparency.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
||||
* gtk/gtkselection.c (gtk_target_list_add_image_targets):
|
||||
Make sure png comes first, otherwise dnd may use bmp by
|
||||
default, loosing transparency.
|
||||
|
||||
@@ -3660,6 +3660,8 @@ gtk_tree_view_bin_expose (GtkWidget *widget,
|
||||
|
||||
g_assert (detail);
|
||||
|
||||
if (widget->state == GTK_STATE_INSENSITIVE)
|
||||
state = GTK_STATE_INSENSITIVE;
|
||||
if (flags & GTK_CELL_RENDERER_SELECTED)
|
||||
state = GTK_STATE_SELECTED;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user