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

List:       kde-commits
Subject:    [kdepim/akregator_port] akregator2/src: Apply fix from Bug 318191
From:       Montel Laurent <montel () kde ! org>
Date:       2013-04-11 15:00:23
Message-ID: 20130411150023.294E8A6061 () git ! kde ! org
[Download RAW message or body]

Git commit 90990aef8ae3e553dba7f72cb6e2d497be5d3ed1 by Montel Laurent.
Committed on 11/04/2013 at 17:00.
Pushed by mlaurent into branch 'akregator_port'.

Apply fix from Bug 318191

M  +1    -1    akregator2/src/trayicon.cpp

http://commits.kde.org/kdepim/90990aef8ae3e553dba7f72cb6e2d497be5d3ed1

diff --git a/akregator2/src/trayicon.cpp b/akregator2/src/trayicon.cpp
index a018e21..e828dd1 100644
--- a/akregator2/src/trayicon.cpp
+++ b/akregator2/src/trayicon.cpp
@@ -73,7 +73,7 @@ TrayIcon::~TrayIcon()
 void TrayIcon::slotSetUnread(int unread)
 {
     m_unread = unread;
-    this->setToolTip( m_defaultIcon.name(), i18n("Akregator2"), i18np( "1 unread \
article", "%1 unread articles", unread ) ); +    this->setToolTip( \
m_defaultIcon.name(), i18n("Akregator2"), unread == 0 ? i18n("There are no unread \
                articles")  : 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