[gnome-themes-standard] gtk2: add missing SELECTED states for check/radio assets



commit 423b5d588c309c09e96f041a20db06cc4bf28969
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 21 15:53:42 2013 -0500

    gtk2: add missing SELECTED states for check/radio assets
    
    This caused the default rendering to be used when the SELECTED state was
    used, as seen e.g. in GtkParasite.

 themes/Adwaita/gtk-2.0/gtkrc |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index 3bc5aff..875c9df 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -128,6 +128,15 @@ style "default"
             overlay_file    		= "Check-Radio/checkbox-unchecked.png"
             overlay_stretch 		= FALSE
         }
+	image
+	{
+            function        		= CHECK
+            recolorable     		= TRUE
+            state 			= SELECTED
+            shadow          		= OUT
+            overlay_file    		= "Check-Radio/checkbox-unchecked.png"
+            overlay_stretch 		= FALSE
+        }
 	image 
 	{
             function        		= CHECK
@@ -164,6 +173,15 @@ style "default"
             overlay_file    		= "Check-Radio/checkbox-checked.png"
             overlay_stretch 		= FALSE
         }
+	image
+	{
+            function        		= CHECK
+            recolorable     		= TRUE
+	    state 		        = SELECTED
+            shadow          		= IN
+            overlay_file    		= "Check-Radio/checkbox-checked.png"
+            overlay_stretch 		= FALSE
+        }
 	image 
   	{
             function        		= CHECK
@@ -200,6 +218,14 @@ style "default"
             overlay_file    		= "Check-Radio/option-unchecked.png"
             overlay_stretch 		= FALSE
         }
+	image
+	{
+            function        		= OPTION
+            state 			= SELECTED
+            shadow          		= OUT
+            overlay_file    		= "Check-Radio/option-unchecked.png"
+            overlay_stretch 		= FALSE
+        }
 	image 
 	{
             function        		= OPTION
@@ -232,6 +258,14 @@ style "default"
             overlay_file    		= "Check-Radio/option-checked.png"
             overlay_stretch	 	= FALSE
         }
+	image
+	{
+            function        		= OPTION
+	    state			= SELECTED
+            shadow          		= IN
+            overlay_file    		= "Check-Radio/option-checked.png"
+            overlay_stretch	 	= FALSE
+        }
 	image 
 	{
             function        		= OPTION



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]