[gtk+] W32: Add a set of "focused" styles to checkmarks
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] W32: Add a set of "focused" styles to checkmarks
- Date: Thu, 24 Apr 2014 03:41:55 +0000 (UTC)
commit 1bcd7c40bdf37da9e1b55581772ebb8b9361479e
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Wed Apr 23 16:01:06 2014 +0000
W32: Add a set of "focused" styles to checkmarks
This prevents checkmarks in modelbuttons from being styled as buttons
(apparently, modelbuttons apply "focused" to their children, unlike
normal buttons).
https://bugzilla.gnome.org/show_bug.cgi?id=728808
gtk/resources/theme/gtk-win32-base.css | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/gtk-win32-base.css b/gtk/resources/theme/gtk-win32-base.css
index ca84e79..4f35556 100644
--- a/gtk/resources/theme/gtk-win32-base.css
+++ b/gtk/resources/theme/gtk-win32-base.css
@@ -167,6 +167,7 @@ GtkRadioButton:prelight {
background-image: -gtk-gradient (linear, left top, right bottom, from(transparent), to(transparent));
}
+.check:focused,
.check {
background-color: transparent;
background-image: -gtk-win32-theme-part(button, 3 1);
@@ -181,10 +182,12 @@ GtkRadioButton:prelight {
in a listview where all checkboxes in a row gets prelighted
whenever the row is prelighted */
+GtkButton.check:focused:prelight,
GtkButton.check:prelight {
background-image: -gtk-win32-theme-part(button, 3 2);
}
+.check:focused:active,
.check:active {
background-image: -gtk-win32-theme-part(button, 3 5);
}
@@ -193,10 +196,12 @@ GtkButton.check:prelight {
background-image: -gtk-win32-theme-part(button, 3 8);
}
+GtkButton.check:focused:active:prelight,
GtkButton.check:active:prelight {
background-image: -gtk-win32-theme-part(button, 3 6);
}
+.check:focused:inconsistent,
.check:inconsistent {
background-image: -gtk-win32-theme-part(button, 3 9);
}
@@ -205,6 +210,7 @@ GtkButton.check:active:prelight {
background-image: -gtk-win32-theme-part(button, 3 12);
}
+.check:focused:inconsistent:prelight,
.check:inconsistent:prelight {
background-image: -gtk-win32-theme-part(button, 3 10);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]