From 226098a06b646981022f0e260fd4d3ca64ff5616 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 2 Jun 2016 12:33:43 +0200 Subject: gtk2: more entry fixes --- common/gtk-2.0/main.rc | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'common/gtk-2.0/main.rc') diff --git a/common/gtk-2.0/main.rc b/common/gtk-2.0/main.rc index 1d22cbb..24b5ca7 100644 --- a/common/gtk-2.0/main.rc +++ b/common/gtk-2.0/main.rc @@ -980,10 +980,6 @@ style "entry" { xthickness = 6 ythickness = 4 - base[NORMAL] = @base_color - base[ACTIVE] = @base_color - base[INSENSITIVE] = @insensitive_bg_color - engine "pixmap" { image { @@ -1012,6 +1008,26 @@ style "entry" { border = {6, 6, 6, 6} stretch = TRUE } + + image { + function = FLAT_BOX + state = ACTIVE + detail = "entry_bg" + file = "assets/entry-background.png" + } + + image { + function = FLAT_BOX + state = INSENSITIVE + detail = "entry_bg" + file = "assets/entry-background-disabled.png" + } + + image { + function = FLAT_BOX + detail = "entry_bg" + file = "assets/entry-background.png" + } } } -- cgit v1.2.3