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

List:       kde-commits
Subject:    playground/base/plasma/applets/presence
From:       Abner Silva <abner.silva () kdemail ! net>
Date:       2009-07-28 18:34:00
Message-ID: 1248806040.433936.4674.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1003753 by abnerf:

PresenceMsg bug fixed.

 M  +2 -3      presence.cpp  


--- trunk/playground/base/plasma/applets/presence/presence.cpp #1003752:1003753
@@ -152,7 +152,7 @@
 
         // Set the presence and presence msg
         account->setPresence(data["PresenceType"].toString(),
-                data["PresenceMessage"].toString());
+                data["PresenceStatusMessage"].toString());
     }
 }
 
@@ -298,8 +298,6 @@
 void PresenceApplet::onPresenceChanged(const QString &presence,
         const QString &msg)
 {
-    Q_UNUSED(msg);
-
     AccountWidget *account = static_cast<AccountWidget *>(sender());
 
     Q_ASSERT(account);
@@ -309,6 +307,7 @@
     if (service != NULL) {
         KConfigGroup op = service->operationDescription("setPresence");
         op.writeEntry("status", presence);
+        op.writeEntry("status_message", msg);
         connect(service, SIGNAL(finished(Plasma::ServiceJob *)),
                 this, SLOT(onJobCompleted()));
         service->startOperationCall(op);
[prev in list] [next in list] [prev in thread] [next in thread] 

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