[gnome-themes-standard/wip/jimmac/updated-gtk2: 95/106] Cleaned up the frame mess.
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard/wip/jimmac/updated-gtk2: 95/106] Cleaned up the frame mess.
- Date: Thu, 3 Mar 2016 22:25:07 +0000 (UTC)
commit f7faba590b553ed1caff2fc8a8de95b59710965d
Author: Juraj Fiala <doctorjellyface riseup net>
Date: Sun Feb 28 19:10:22 2016 +0100
Cleaned up the frame mess.
themes/Adwaita/gtk-2.0/main.rc | 59 ++++++---------------------------------
1 files changed, 9 insertions(+), 50 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/main.rc b/themes/Adwaita/gtk-2.0/main.rc
index b70f5bb..35a8f0b 100644
--- a/themes/Adwaita/gtk-2.0/main.rc
+++ b/themes/Adwaita/gtk-2.0/main.rc
@@ -2181,7 +2181,6 @@ style "frame" {
image {
function = SHADOW
- shadow = IN
file = "assets/frame.png"
border = {1, 1, 1, 1}
stretch = TRUE
@@ -2189,7 +2188,6 @@ style "frame" {
image {
function = SHADOW_GAP
- shadow = IN
file = "assets/frame.png"
border = {1, 1, 1, 1}
stretch = TRUE
@@ -2197,60 +2195,16 @@ style "frame" {
gap_end_file = "assets/border.png"
}
- image {
- function = SHADOW
- shadow = OUT
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- }
-
- image {
- function = SHADOW_GAP
- shadow = OUT
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- gap_start_file = "assets/border.png"
- gap_end_file = "assets/border.png"
- }
+ }
- image {
- function = SHADOW
- shadow = ETCHED_IN
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- }
+}
- image {
- function = SHADOW_GAP
- shadow = ETCHED_IN
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- gap_start_file = "assets/border.png"
- gap_end_file = "assets/border.png"
- }
+style "disable-frame" {
+ engine "pixmap" {
image {
function = SHADOW
- shadow = ETCHED_OUT
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- }
-
- image {
- function = SHADOW_GAP
- shadow = ETCHED_OUT
- file = "assets/frame.png"
- border = {1, 1, 1, 1}
- stretch = TRUE
- gap_start_file = "assets/border.png"
- gap_end_file = "assets/border.png"
}
-
}
}
@@ -2328,6 +2282,11 @@ widget_class "*<GtkMenuItem>*" style "menu_item"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar_item"
widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
+# Frames in statusbars look ugly, let's disable them
+widget_class "*<GtkStatusbar>*<GtkFrame>" style "disable-frame"
+# Disable the frame around poor Wilbert too
+widget_class "*<GimpToolbox>*<GtkFrame>" style "disable-frame"
+
# Treeview buttons
widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]