[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/protocols/jabber
From: Roman Jarosz <kedgedev () centrum ! cz>
Date: 2008-06-02 21:21:32
Message-ID: 1212441692.201144.17843.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 815953 by rjarosz:
Use setStatusMessage instead of own status message property.
This will show the message in Change message submenu.
M +1 -8 jabberbasecontact.cpp
M +1 -1 jabbercontact.cpp
M +0 -1 jabberprotocol.cpp
M +0 -1 jabberprotocol.h
--- trunk/KDE/kdenetwork/kopete/protocols/jabber/jabberbasecontact.cpp #815952:815953
@@ -323,14 +323,7 @@
* Set away message property.
* We just need to read it from the current resource.
*/
- if ( !resource.status ().status ().isEmpty () )
- {
- setProperty ( protocol()->propAwayMessage, resource.status().status () );
- }
- else
- {
- removeProperty ( protocol()->propAwayMessage );
- }
+ setStatusMessage( resource.status().status() );
}
--- trunk/KDE/kdenetwork/kopete/protocols/jabber/jabbercontact.cpp #815952:815953
@@ -610,7 +610,7 @@
setProperty ( protocol()->propLastSeen, QDateTime::currentDateTime().addSecs ( \
-task->seconds () ) ); if( !task->message().isEmpty() )
{
- setProperty( protocol()->propAwayMessage, task->message() );
+ setStatusMessage( task->message() );
}
}
--- trunk/KDE/kdenetwork/kopete/protocols/jabber/jabberprotocol.cpp #815952:815953
@@ -71,7 +71,6 @@
JabberKOSInvisible(Kopete::OnlineStatus::Invisible, 40, this, JabberInvisible, \
QStringList("contact_invisible_overlay"), i18n ("Invisible") ,i18n ("Invisible"), \
Kopete::OnlineStatusManager::Invisible), \
JabberKOSConnecting(Kopete::OnlineStatus::Connecting, 30, this, JabberConnecting, \
QStringList("jabber_connecting"), i18n("Connecting")), \
propLastSeen(Kopete::Global::Properties::self()->lastSeen()),
- propAwayMessage(Kopete::Global::Properties::self()->statusMessage()),
propFirstName(Kopete::Global::Properties::self()->firstName()),
propLastName(Kopete::Global::Properties::self()->lastName()),
propFullName(Kopete::Global::Properties::self()->fullName()),
--- trunk/KDE/kdenetwork/kopete/protocols/jabber/jabberprotocol.h #815952:815953
@@ -81,7 +81,6 @@
const Kopete::OnlineStatus JabberKOSConnecting;
const Kopete::PropertyTmpl propLastSeen;
- const Kopete::PropertyTmpl propAwayMessage;
const Kopete::PropertyTmpl propFirstName;
const Kopete::PropertyTmpl propLastName;
const Kopete::PropertyTmpl propFullName;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic