06795166ef
that fix build with later gcc's.
20 lines
704 B
Text
20 lines
704 B
Text
$NetBSD: patch-ae,v 1.8 2005/04/14 20:53:30 markd Exp $
|
|
|
|
--- kcontrol/krdb/krdb.cpp.orig 2004-07-17 18:52:04.000000000 +0100
|
|
+++ kcontrol/krdb/krdb.cpp
|
|
@@ -384,7 +386,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;
|