[gnome-themes-standard/gnome-3-6] gtk2: make sure not to render shadows for GTK_SHADOW_NONE frames



commit 1ac71db0848c39940c97b2cc8839247f1d49658d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Feb 18 13:34:10 2013 -0500

    gtk2: make sure not to render shadows for GTK_SHADOW_NONE frames
    
    https://bugzilla.redhat.com/show_bug.cgi?id=863396

 themes/Adwaita/gtk-2.0/gtkrc |   68 ++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 65 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index 69145a4..08c5c3f 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -2045,10 +2045,71 @@ style "frame"
        {
         image
         {
-                function               = SHADOW
-                file                   = "Shadows/frame.png"                           
+                function                = SHADOW
+                file                    = "Shadows/frame.png"
+                border                  = { 1, 1, 1, 1 }
+                stretch                 = TRUE
+                shadow                  = IN
+        }
+        image
+        {
+                function                = SHADOW_GAP
+                file                    = "Shadows/frame.png"
+                border                  = { 1, 1, 1, 1 }
+                stretch                 = TRUE
+                gap_start_file          = "Shadows/frame-gap-start.png"
+                gap_start_border        = { 1, 0, 0, 0 }
+                gap_end_file            = "Shadows/frame-gap-end.png"
+                gap_end_border          = { 0, 1, 0, 0 }
+                shadow                  = IN
+        }
+        image
+        {
+                function                = SHADOW
+                file                    = "Shadows/frame.png"
+                border                  = { 1, 1, 1, 1 }
+                stretch                 = TRUE
+                shadow                  = OUT
+        }
+        image
+        {
+                function                = SHADOW_GAP
+                file                    = "Shadows/frame.png"
+                border                  = { 1, 1, 1, 1 }
+                stretch                 = TRUE
+                gap_start_file          = "Shadows/frame-gap-start.png"
+                gap_start_border        = { 1, 0, 0, 0 }
+                gap_end_file            = "Shadows/frame-gap-end.png"
+                gap_end_border          = { 0, 1, 0, 0 }
+                shadow                  = OUT
+        }
+        image
+        {
+                function                = SHADOW
+                file                    = "Shadows/frame.png"
                 border                 = { 1, 1, 1, 1 }
-                stretch                        = TRUE
+                stretch                 = TRUE
+                shadow                  = ETCHED_IN
+        }
+        image
+        {
+                function                = SHADOW_GAP
+                file                    = "Shadows/frame.png"
+                border                  = { 1, 1, 1, 1 }
+                stretch                 = TRUE
+                gap_start_file          = "Shadows/frame-gap-start.png"
+                gap_start_border        = { 1, 0, 0, 0 }
+                gap_end_file            = "Shadows/frame-gap-end.png"
+                gap_end_border          = { 0, 1, 0, 0 }
+                shadow                  = ETCHED_IN
+        }
+        image
+        {
+                function                = SHADOW
+                file                    = "Shadows/frame.png"
+                border                  = { 1, 1, 1, 1 }
+                stretch                 = TRUE
+                shadow                  = ETCHED_OUT
         }
         image
         {
@@ -2060,6 +2121,7 @@ style "frame"
                 gap_start_border        = { 1, 0, 0, 0 }
                 gap_end_file            = "Shadows/frame-gap-end.png"
                 gap_end_border          = { 0, 1, 0, 0 }
+                shadow                  = ETCHED_OUT
         }
         }
 }


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