[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:07:10 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=9bc4c74

The following commit has been merged in the master branch:
commit 9bc4c74c56670453dd29fe884fe7e0ac5aba2ca9
Author: George Goldberg <grundleborg at googlemail.com>
Date:   Sun Mar 7 12:53:35 2010 +0000

    Get the contacts list when we start up if the account is already connected.
    
    svn path=/trunk/playground/network/telepathy-integration-daemon/; revision=1100394
---
 kpeople/nepomuk-feeder/telepathyaccount.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kpeople/nepomuk-feeder/telepathyaccount.cpp b/kpeople/nepomuk-feeder/telepathyaccount.cpp
index 670d356..4990651 100644
--- a/kpeople/nepomuk-feeder/telepathyaccount.cpp
+++ b/kpeople/nepomuk-feeder/telepathyaccount.cpp
@@ -171,6 +171,12 @@ void TelepathyAccount::doNepomukSetup()
         mePersonContact.addProperty(Nepomuk::Vocabulary::NCO::hasIMAccount(),
                                     m_accountResource);
     }
+
+    // Check if the account already has a connection, and
+    // synthesise a connection state change if it has.
+    if (m_account->haveConnection()) {
+        onHaveConnectionChanged(true);
+    }
 }
 
 void TelepathyAccount::onHaveConnectionChanged(bool haveConnection)

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list