diff --git a/resources/desktop/io.github.martinrotter.rssguard.metainfo.xml b/resources/desktop/io.github.martinrotter.rssguard.metainfo.xml index a68a71db6..4f71a292a 100644 --- a/resources/desktop/io.github.martinrotter.rssguard.metainfo.xml +++ b/resources/desktop/io.github.martinrotter.rssguard.metainfo.xml @@ -60,7 +60,7 @@ - + rssguard diff --git a/src/librssguard/services/abstract/feed.cpp b/src/librssguard/services/abstract/feed.cpp index 58838a7cd..7a36e268d 100644 --- a/src/librssguard/services/abstract/feed.cpp +++ b/src/librssguard/services/abstract/feed.cpp @@ -61,6 +61,14 @@ QVariant Feed::data(int column, int role) const { case Status::NewMessages: return qApp->skins()->currentSkin().colorForModel(SkinEnums::PaletteColors::FgSelectedInteresting); + case Status::Normal: + if (countOfUnreadMessages() > 0) { + return qApp->skins()->currentSkin().colorForModel(SkinEnums::PaletteColors::FgSelectedInteresting); + } + else { + return QVariant(); + } + case Status::NetworkError: case Status::ParsingError: case Status::AuthError: @@ -76,6 +84,14 @@ QVariant Feed::data(int column, int role) const { case Status::NewMessages: return qApp->skins()->currentSkin().colorForModel(SkinEnums::PaletteColors::FgInteresting); + case Status::Normal: + if (countOfUnreadMessages() > 0) { + return qApp->skins()->currentSkin().colorForModel(SkinEnums::PaletteColors::FgInteresting); + } + else { + return QVariant(); + } + case Status::NetworkError: case Status::ParsingError: case Status::AuthError: