From 5709caca598ac86f3e26998c155478bb2fcade6f Mon Sep 17 00:00:00 2001 From: markd Date: Tue, 20 Apr 2004 12:37:34 +0000 Subject: add missing patch. --- x11/kdebase3/patches/patch-ae | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 x11/kdebase3/patches/patch-ae (limited to 'x11') diff --git a/x11/kdebase3/patches/patch-ae b/x11/kdebase3/patches/patch-ae new file mode 100644 index 00000000000..0fdc7a763d1 --- /dev/null +++ b/x11/kdebase3/patches/patch-ae @@ -0,0 +1,31 @@ +$NetBSD: patch-ae,v 1.5 2004/04/20 12:37:34 markd Exp $ + +--- kcontrol/krdb/krdb.cpp.orig 2004-04-04 19:42:18.000000000 +1200 ++++ kcontrol/krdb/krdb.cpp +@@ -343,8 +343,8 @@ static void createGtkrc( bool exportColo + t << " base[NORMAL] = " << color( cg.base() ) << endl; + t << " base[SELECTED] = " << color( cg.highlight() ) << endl; + t << " base[INSENSITIVE] = " << color( cg.background() ) << endl; +- t << " base[ACTIVE] = " << color( cg.base() ) << endl; +- t << " base[PRELIGHT] = " << color( cg.base() ) << endl; ++ t << " base[ACTIVE] = " << color( cg.highlight() ) << endl; ++ t << " base[PRELIGHT] = " << color( cg.highlight() ) << endl; + t << endl; + t << " text[NORMAL] = " << color( cg.text() ) << endl; + t << " text[SELECTED] = " << color( cg.highlightedText() ) << endl; +@@ -384,7 +384,14 @@ static void createGtkrc( bool exportColo + // not every button, checkbox, etc. + t << "style \"MenuItem\"" << endl; + t << "{" << endl; +- t << " bg[PRELIGHT] = " << color( cg.highlight() ) << endl; ++ if (cg.highlight() == cg.text()) ++ { ++ t << " bg[PRELIGHT] = " << color( cg.background() ) << endl; ++ } ++ else ++ { ++ t << " bg[PRELIGHT] = " << color( cg.highlight() ) << endl; ++ } + t << "}" << endl; + t << endl; + t << "class \"*MenuItem\" style \"MenuItem\"" << endl; -- cgit v1.2.3