summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authormarkd <markd>2004-04-20 12:37:34 +0000
committermarkd <markd>2004-04-20 12:37:34 +0000
commit5709caca598ac86f3e26998c155478bb2fcade6f (patch)
tree5b45dbac6d2f0f2a0c6dcdbc3f6c3fdc7976311c /x11
parent58fbcc6b3a994108fd3300ae9448187107b6ec19 (diff)
downloadpkgsrc-5709caca598ac86f3e26998c155478bb2fcade6f.tar.gz
add missing patch.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdebase3/patches/patch-ae31
1 files changed, 31 insertions, 0 deletions
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;