diff options
Diffstat (limited to 'akregator/src/articlelistview.cpp')
-rw-r--r-- | akregator/src/articlelistview.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/akregator/src/articlelistview.cpp b/akregator/src/articlelistview.cpp index 96a2a050c..2324096be 100644 --- a/akregator/src/articlelistview.cpp +++ b/akregator/src/articlelistview.cpp @@ -178,14 +178,13 @@ void ArticleListView::ArticleItem::paintCell ( TQPainter * p, const TQColorGroup TDEListViewItem::paintCell( p, cg, column, width, align ); else { - // if article status is unread or new, we change the color: FIXME: make colors configurable TQColorGroup cg2(cg); - + if (article().status() == Article::Unread) - cg2.setColor(TQColorGroup::Text, TQt::blue); + cg2.setColor(TQColorGroup::Text, Settings::unreadTextColor()); else // New - cg2.setColor(TQColorGroup::Text, TQt::red); - + cg2.setColor(TQColorGroup::Text, Settings::readTextColor()); + TDEListViewItem::paintCell( p, cg2, column, width, align ); } |