From a93d5c35a0ef1f5895c3d5fad330183af7bd3a40 Mon Sep 17 00:00:00 2001 From: Eudaimon Date: Wed, 9 Nov 2022 14:32:07 +0100 Subject: [PATCH] Tried to fix gtk2 for GIMP, to no avail --- gtk-2.0/gtkrc | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc index ab6439f..230e9c2 100644 --- a/gtk-2.0/gtkrc +++ b/gtk-2.0/gtkrc @@ -12,6 +12,7 @@ # And modified by Nestort (https://www.pling.com/u/nestort/) #original bg_color:#3d3d3e +#gtk_color_scheme = "bg_color:#3d3d3e\nbg_active_color:#141414\nselected_color:#3399FF" gtk_color_scheme = "bg_color:#3d3d3e\nbg_active_color:#141414\nselected_color:#3399FF" gtk-color-scheme = "insensitive_bg_color:#3d3d3e" gtk-color-scheme = "insensitive_fg_color:#000000" @@ -382,11 +383,10 @@ style "default" style "menu" { - #bg[NORMAL] = shade (0.9, @bg_active_color) #fg[NORMAL] = "#ffffff" #text[NORMAL] = "#ffffff" - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" + #text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color engine "pixmap" # just for similarity to the GTK3 theme { @@ -408,9 +408,8 @@ style "menuitem" #fg[PRELIGHT] = "#000000" #text[PRELIGHT] = "#000000" bg[SELECTED] = shade (4.2, @bg_color) - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" - + #text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color xthickness = 2 ythickness = 3 # 4 for Qt? @@ -428,8 +427,8 @@ style "menuitem" style "menubar-menuitem" { ythickness = 3 - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" + #text[INSENSITIVE] = @insensitive_text_color + #fg[INSENSITIVE] = @insensitive_fg_color } @@ -450,6 +449,7 @@ style "button" # Qt needs this: bg[ACTIVE] = shade (3.0, @bg_color) bg[INSENSITIVE] = @bg_color + fg[INSENSITIVE] = @insensitive_fg_color fg[ACTIVE] = "#ffffff" fg[PRELIGHT] = "#ffffff" @@ -526,6 +526,7 @@ style "togglebutton" fg[PRELIGHT] = "#ffffff" # bg[ACTIVE] = shade (3.0, @bg_color) # bg[PRELIGHT] = shade (3.2, @bg_color) + fg[INSENSITIVE] = @insensitive_fg_color } style "menubar" @@ -534,8 +535,8 @@ style "menubar" #ythickness = 0 #bg[NORMAL] = @bg_color fg[SELECTED] = "#ffffff" - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" + text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color #bg_pixmap[NORMAL] = "assets/menubar_separator.png" engine "pixmap" { @@ -565,8 +566,8 @@ style "toolbar" xthickness = 3 ythickness = 4 #bg[NORMAL] = @bg_color - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" + text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color engine "pixmap" { image { function = BOX @@ -864,8 +865,8 @@ style "radiobutton" fg[ACTIVE] = "#ffffff" # for Synaptic fg[PRELIGHT] = "#ffffff" # for Synaptic text[NORMAL] = "#ffffff" - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" + text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color engine "pixmap" { image { @@ -942,8 +943,8 @@ style "checkbutton" = "default" { fg[ACTIVE] = "#ffffff" # for Synaptic fg[PRELIGHT] = "#ffffff" # for Synaptic text[NORMAL] = "#ffffff" - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" + text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color engine "pixmap" { image { @@ -1059,8 +1060,8 @@ style "view" style "entry" { base[NORMAL] = @bg_color - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" + text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color xthickness = 1 ythickness = 1 GtkEntry::inner-border = {3, 3, 3, 3} @@ -1102,13 +1103,15 @@ style "comboboxentry" { ythickness = 1 xthickness = 1 + text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color } style "spinbutton" { base[NORMAL] = @bg_color - text[INSENSITIVE] = "#000000" - fg[INSENSITIVE] = "#000000" + text[INSENSITIVE] = @insensitive_text_color + fg[INSENSITIVE] = @insensitive_fg_color xthickness = 1 ythickness = 1 GtkEntry::inner-border = {3, 3, 2, 2}