win32: Fix listview checkbox prelight problems

We only support the preview state for checkboxes for GtkButton
because it gave problems when used in treeview where the prelight
state affects all checkboxes in the row.
This commit is contained in:
Alexander Larsson 2012-03-15 20:43:27 +01:00
parent 84b2d41a98
commit 7e97dce946

View File

@ -162,7 +162,11 @@ GtkAssistant .sidebar .highlight {
background-image: -gtk-win32-theme-part(button, 3 4);
}
.check:prelight {
/* The GtkButton here is to avoid problems with checkboxes
in a listview where all checkboxes in a row gets prelighted
whenever the row is prelighted */
GtkButton.check:prelight {
background-image: -gtk-win32-theme-part(button, 3 2);
}
@ -174,7 +178,7 @@ GtkAssistant .sidebar .highlight {
background-image: -gtk-win32-theme-part(button, 3 8);
}
.check:active:prelight {
GtkButton.check:active:prelight {
background-image: -gtk-win32-theme-part(button, 3 6);
}