diff options
author | markd <markd@pkgsrc.org> | 2004-04-20 12:37:34 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-04-20 12:37:34 +0000 |
commit | ea5c66387efa5a29cbd152683e12d38b6cc5111c (patch) | |
tree | 5b45dbac6d2f0f2a0c6dcdbc3f6c3fdc7976311c /x11 | |
parent | 68a6fd9ef9521321cf7745dd0332effc90956a07 (diff) | |
download | pkgsrc-ea5c66387efa5a29cbd152683e12d38b6cc5111c.tar.gz |
add missing patch.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdebase3/patches/patch-ae | 31 |
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; |