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

List:       kde-commits
Subject:    kdebase/libkonq
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-02-02 21:42:45
[Download RAW message or body]

CVS commit by waba: 

Reverting, no per desktop icon colors


  M +10 -3     konq_iconviewwidget.cc   1.223


--- kdebase/libkonq/konq_iconviewwidget.cc  #1.222:1.223
@@ -753,9 +753,16 @@ bool KonqIconViewWidget::initConfig( boo
 
     // Color settings
-    if (!m_bDesktop)
-    {
        QColor normalTextColor       = m_pSettings->normalTextColor();
        setItemColor( normalTextColor );
+
+    if (m_bDesktop)
+    {
+      QColor itemTextBg = m_pSettings->itemTextBackground();
+      if ( itemTextBg.isValid() )
+          setItemTextBackground( itemTextBg );
+      else
+          setItemTextBackground( NoBrush );
     }
+
 
     d->pFileTip->setOptions(m_pSettings->showFileTips() && QToolTip::isGloballyEnabled(),


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

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