[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim/akregator_port] akregator2/src: Apply patch from Luis Silva <lacsilva@gmail.com> about "Make
From: Montel Laurent <montel () kde ! org>
Date: 2013-03-26 6:24:45
Message-ID: 20130326062445.0AA5CA604F () git ! kde ! org
[Download RAW message or body]
Git commit 627d85817cf6761cb1d0a9bbf89202a0a2d83f8f by Montel Laurent.
Committed on 26/03/2013 at 07:23.
Pushed by mlaurent into branch 'akregator_port'.
Apply patch from Luis Silva <lacsilva@gmail.com> about "Make the tray icon behave as \
in kmail and hide when there are no unread feeds."
M +1 -0 akregator2/src/trayicon.cpp
http://commits.kde.org/kdepim/627d85817cf6761cb1d0a9bbf89202a0a2d83f8f
diff --git a/akregator2/src/trayicon.cpp b/akregator2/src/trayicon.cpp
index 7109886..a018e21 100644
--- a/akregator2/src/trayicon.cpp
+++ b/akregator2/src/trayicon.cpp
@@ -74,6 +74,7 @@ void TrayIcon::slotSetUnread(int unread)
{
m_unread = unread;
this->setToolTip( m_defaultIcon.name(), i18n("Akregator2"), i18np( "1 unread \
article", "%1 unread articles", unread ) ); + setStatus( unread > 0 ? \
KStatusNotifierItem::Active : KStatusNotifierItem::Passive );
if (unread <= 0 || !Settings::enableTrayIconUnreadArticleCount())
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic