[gtk+] W32: Fix dummy prelight style for check/radio buttons
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] W32: Fix dummy prelight style for check/radio buttons
- Date: Thu, 24 Apr 2014 03:41:11 +0000 (UTC)
commit 5309149f75c34390659871f8eb62943809d67e66
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Wed Apr 23 15:58:45 2014 +0000
W32: Fix dummy prelight style for check/radio buttons
Use a dummy transparent gradient instead of actual color (which screws up
focus rectangle on prelight), and apply to non-prelight state as well.
https://bugzilla.gnome.org/show_bug.cgi?id=728807
gtk/resources/theme/gtk-win32-base.css | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/resources/theme/gtk-win32-base.css b/gtk/resources/theme/gtk-win32-base.css
index 701c3fc..ca84e79 100644
--- a/gtk/resources/theme/gtk-win32-base.css
+++ b/gtk/resources/theme/gtk-win32-base.css
@@ -160,9 +160,11 @@ GtkRadioButton:prelight:selected {
}
/* This is meaningless, it just enables prelight propagation to check/radio mark */
+GtkCheckButton,
+GtkRadioButton,
GtkCheckButton:prelight,
GtkRadioButton:prelight {
- color: @fg_color;
+ background-image: -gtk-gradient (linear, left top, right bottom, from(transparent), to(transparent));
}
.check {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]