Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > a6bc312ce50b5c8d0c51736e58ac32bc > files > 78

kdebase-3.4.2-55mdk.src.rpm

--- kdebase-3.0.2/kcontrol/thememgr/theme.cpp--	2002-08-03 08:00:21.000000000 +0200
+++ kdebase-3.0.2/kcontrol/thememgr/theme.cpp	2002-08-03 08:07:14.000000000 +0200
@@ -1295,6 +1295,8 @@ void Theme::updateColorScheme(KSimpleCon
       kde2Blue.setRgb(0, 0, 192);
 
     QColor widget(220, 220, 220);
+    QColor titleColor(33,68,156); 
+    QColor selectBg( 119,131,189);
 
     QColor button;
     if (QPixmap::defaultDepth() > 8)
@@ -1321,7 +1323,7 @@ void Theme::updateColorScheme(KSimpleCon
     // note: defaults should be the same as the KDE default
     QColor txt = config->readColorEntry( "foreground", &black );
     QColor back = config->readColorEntry( "background", &widget );
-    QColor select = config->readColorEntry( "selectBackground", &kde2Blue );
+    QColor select = config->readColorEntry( "selectBackground", &selectBg );
     QColor selectTxt = config->readColorEntry( "selectForeground", &white );
     QColor window = config->readColorEntry( "windowBackground", &white );
     QColor windowTxt = config->readColorEntry( "windowForeground", &black );
@@ -1335,9 +1337,9 @@ void Theme::updateColorScheme(KSimpleCon
     QColor iaTitle = config->readColorEntry("inactiveBackground", &widget);
     QColor iaTxt = config->readColorEntry("inactiveForeground", &black);
     QColor iaBlend = config->readColorEntry("inactiveBlend", &widget);
-    QColor aTitle = config->readColorEntry("activeBackground", &kde2Blue);
+    QColor aTitle = config->readColorEntry("activeBackground", &titleColor);
     QColor aTxt = config->readColorEntry("activeForeground", &white);
-    QColor aBlend = config->readColorEntry("activeBlend", &kde2Blue);
+    QColor aBlend = config->readColorEntry("activeBlend", &titleColor);
     // hack - this is all going away. For now just set all to button bg
     QColor aTitleBtn = config->readColorEntry("activeTitleBtnBg", &back);
     QColor iTitleBtn = config->readColorEntry("inactiveTitleBtnBg", &back);