[gtk+] W32: Remove selection from check/radio marks
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] W32: Remove selection from check/radio marks
- Date: Tue, 1 Apr 2014 10:44:07 +0000 (UTC)
commit d83b1275b4351b96615cb32b3a55deeb46f81111
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Wed Mar 26 11:59:52 2014 +0000
W32: Remove selection from check/radio marks
Current theme allows selection to leak into check/radio marks,
resulting in ugly colored rectangles showing up underneath the marks.
https://bugzilla.gnome.org/show_bug.cgi?id=727211
gtk/resources/theme/gtk-win32-base.css | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/gtk-win32-base.css b/gtk/resources/theme/gtk-win32-base.css
index 9f6bc0a..1855bfe 100644
--- a/gtk/resources/theme/gtk-win32-base.css
+++ b/gtk/resources/theme/gtk-win32-base.css
@@ -200,6 +200,10 @@ GtkButton.check:active:prelight {
background-image: -gtk-win32-theme-part(button, 3 10);
}
+.check:selected {
+ background-color: transparent;
+}
+
/* Radio buttons */
.radio {
@@ -240,6 +244,10 @@ GtkButton.check:active:prelight {
background-image: -gtk-win32-theme-part(button, 2 4, over(2 6, 0.3));
}
+.radio:selected {
+ background-color: transparent;
+}
+
/* Scrollbars */
/* TODO: Win32 has different concept for upper and lower trough, we
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]