[gnome-themes-standard/f15/master] Add a patch to fix insensitive checkboxes

Cosimo Cecchi cosimoc at fedoraproject.org
Tue Feb 22 21:20:53 UTC 2011


commit 7118f4c3e5b828204ed4ef2a59a6b1cdd7c7bc5d
Author: Cosimo Cecchi <cosimoc at gnome.org>
Date:   Tue Feb 22 16:20:45 2011 -0500

    Add a patch to fix insensitive checkboxes

 gnome-themes-standard.spec   |    9 ++++++++-
 insensitive-checkboxes.patch |   22 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/gnome-themes-standard.spec b/gnome-themes-standard.spec
index 61ab564..002cf1e 100644
--- a/gnome-themes-standard.spec
+++ b/gnome-themes-standard.spec
@@ -1,6 +1,6 @@
 Name: gnome-themes-standard
 Version: 2.91.90
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Standard themes for GNOME applications
 
 Group: User Interface/Desktops
@@ -17,6 +17,8 @@ BuildRequires: gtk3-devel
 BuildRequires: intltool gettext autoconf automake
 Requires: gtk2-engines gnome-icon-theme abattis-cantarell-fonts
 
+Patch1: insensitive-checkboxes.patch
+
 %description
 The gnome-themes-standard package contains the standard theme for the GNOME
 desktop, which provides default appearance for cursors, desktop background,
@@ -25,6 +27,8 @@ window borders and GTK+ applications.
 %prep
 %setup -q
 
+%patch1 -p1 -b .checkboxes
+
 %build
 %configure
 make %{?_smp_mflags}
@@ -75,6 +79,9 @@ gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
 %doc COPYING NEWS
 
 %changelog
+* Tue Feb 22 2011 Cosimo Cecchi <cosimoc at redha.com> - 2.91.90-2
+- Fix insensitive checkboxes
+
 * Tue Feb 22 2011 Matthias Clasen <mclasen at redhat.com> 2.91.90-1
 - Update to 2.91.90
 
diff --git a/insensitive-checkboxes.patch b/insensitive-checkboxes.patch
new file mode 100644
index 0000000..7fb0820
--- /dev/null
+++ b/insensitive-checkboxes.patch
@@ -0,0 +1,22 @@
+From 610de9038cfb12ca6ca4317024c0ed02a025a6a3 Mon Sep 17 00:00:00 2001
+From: Carlos Garnacho <carlosg at gnome.org>
+Date: Tue, 22 Feb 2011 17:30:47 +0000
+Subject: Use base color for check/radio buttons.
+
+bg color was used instead. Noticed by Cossimo Cecchi
+---
+diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
+index 9b7b86d..d27db29 100644
+--- a/themes/Adwaita/gtk-3.0/gtk.css
++++ b/themes/Adwaita/gtk-3.0/gtk.css
+@@ -412,7 +412,7 @@ GtkRadioButton:selected {
+ .menu .check:hover, .menu .radio:hover {
+     border-color: shade (@frame_color, 1.035);
+     color: @menu_fg_color;
+-    background-color: mix (shade (@highlighted_border, 1.345), @theme_bg_color, 0.9);
++    background-color: mix (shade (@highlighted_border, 1.345), @theme_base_color, 0.9);
+ }
+ 
+ .check:insensitive,
+--
+cgit v0.8.3.4


More information about the scm-commits mailing list