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

List:       kde-commits
Subject:    kdebase/kicker/applets/minipager
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2003-09-14 7:08:28
[Download RAW message or body]

CVS commit by aseigo: 

don't flip the text when the pager is set to transparent. perfect would be
shadowed text, but until then...


  M +1 -1      pagerapplet.cpp   1.95


--- kdebase/kicker/applets/minipager/pagerapplet.cpp  #1.94:1.95
@@ -102,5 +102,5 @@ void KMiniPagerButton::paintEvent(QPaint
     QBrush bg = colorGroup().brush( (!isOn() && !isDown()) ? QColorGroup::Dark : \
QColorGroup::Base );  setBackgroundOrigin( WindowOrigin );
-    QColor fg = (!isOn() && !isDown()) ? colorGroup().base() : colorGroup().text();
+    QColor fg = ((!isOn() && !isDown()) || pager()->transparent()) ? \
colorGroup().base() : colorGroup().text();  
     if ( pager()->desktopPreview() ) {


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

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