[gnome-themes-standard] gtk2: make sure not to render shadows for GTK_SHADOW_NONE frames
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] gtk2: make sure not to render shadows for GTK_SHADOW_NONE frames
- Date: Mon, 18 Feb 2013 18:34:55 +0000 (UTC)
commit 6c099e49f5740e1ce36867bc9750ecaca3ce4408
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 b1c00db..b383524 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]