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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/msn
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2005-05-18 12:58:48
Message-ID: 1116421128.200533.4997.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 415357 by ogoffart:

Use the double overlay icon for blocked contact when needed.

 M  +7 -2      trunk/KDE/kdenetwork/kopete/protocols/msn/msncontact.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/msn/msncontact.cpp #415356:415357
@@ -553,8 +553,13 @@
 {
 	if(isBlocked() && status.internalStatus() < 15)
 	{
-		Kopete::Contact::setOnlineStatus(Kopete::OnlineStatus(status.status() , \
                (status.weight()==0) ? 0 : (status.weight() -1)  ,
-			protocol() , status.internalStatus()+15 , QString::fromLatin1("msn_blocked") ,  \
i18n("%1|Blocked").arg( status.description() ) ) ); \
+		Kopete::Contact::setOnlineStatus( +				Kopete::OnlineStatus(status.status() ,
+				(status.weight()==0) ? 0 : (status.weight() -1)  ,
+				protocol() ,
+				status.internalStatus()+15 ,
+				status.overlayIcons() + QStringList("msn_blocked") ,
+				i18n("%1|Blocked").arg( status.description() ) ) );
 	}
 	else if(!isBlocked() && status.internalStatus() >= 15)
 	{	//the user is not blocked, but the status is blocked


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

Configure | About | News | Add a list | Sponsored by KoreLogic