[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/krdb
From:       Waldo Bastian <bastian () kde ! org>
Date:       2004-06-25 11:22:25
Message-ID: 20040625112225.8CDBA2522 () office ! kde ! org
[Download RAW message or body]

CVS commit by waba: 

Always use highlight() in combination with highlightedText() to ensure contrast.


  M +2 -2      krdb.cpp   1.58


--- kdebase/kcontrol/krdb/krdb.cpp  #1.57:1.58
@@ -350,6 +350,6 @@ static void createGtkrc( bool exportColo
         t << "  text[SELECTED] = " << color( cg.highlightedText() ) << endl;
         t << "  text[INSENSITIVE] = " << color( cg.mid() ) << endl;
-        t << "  text[ACTIVE] = " << color( cg.text() ) << endl;
-        t << "  text[PRELIGHT] = " << color( cg.text() ) << endl;
+        t << "  text[ACTIVE] = " << color( cg.highlightedText() ) << endl;
+        t << "  text[PRELIGHT] = " << color( cg.highlightedText() ) << endl;
         t << endl;
         t << "  fg[NORMAL] = " << color( cg.foreground() ) << endl;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic