[gnome-themes-standard] gtk2: ensure all frames get a shadow around them



commit a5a6579a74c0c27685143bee84dec6848e5640f6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 21 15:36:22 2013 -0500

    gtk2: ensure all frames get a shadow around them
    
    We were failing to add a shadow for frames that had a "gap" in them.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692225

 themes/Adwaita/gtk-2.0/Shadows/frame-gap-end.png   |  Bin 0 -> 174 bytes
 themes/Adwaita/gtk-2.0/Shadows/frame-gap-start.png |  Bin 0 -> 174 bytes
 themes/Adwaita/gtk-2.0/gtkrc                       |   11 +++++++++++
 3 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/Shadows/frame-gap-end.png b/themes/Adwaita/gtk-2.0/Shadows/frame-gap-end.png
new file mode 100644
index 0000000..58cacf5
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Shadows/frame-gap-end.png differ
diff --git a/themes/Adwaita/gtk-2.0/Shadows/frame-gap-start.png b/themes/Adwaita/gtk-2.0/Shadows/frame-gap-start.png
new file mode 100644
index 0000000..0b7e484
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Shadows/frame-gap-start.png differ
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index 51e17c8..3bc5aff 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -1931,6 +1931,17 @@ style "frame"
                 border			= { 1, 1, 1, 1 }
                 stretch			= TRUE
         }
+        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 }
+        }
         }
 }
 



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