summaryrefslogtreecommitdiffstats
path: root/akregator/src/articlelistview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-05 18:37:59 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-05 18:37:59 -0500
commitfaf37227f5194237dbda5973c21d05de3633ea03 (patch)
tree2fe295ab340901ac71d610e233ef651a7c3404d3 /akregator/src/articlelistview.cpp
parent352bfda9b44902c28c0f8cb7beaa9decd39fb6d6 (diff)
downloadtdepim-faf37227f5194237dbda5973c21d05de3633ea03.tar.gz
tdepim-faf37227f5194237dbda5973c21d05de3633ea03.zip
Add configuration options to set Akregator read and unread text colors
This resolves Bug 1696
Diffstat (limited to 'akregator/src/articlelistview.cpp')
-rw-r--r--akregator/src/articlelistview.cpp9
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 );
}