[SCM] ktp-approver packaging branch, master, updated. debian/15.12.1-1-299-g62cbbd7

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 09:13:14 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-approver.git;a=commitdiff;h=2a3f00c

The following commit has been merged in the master branch:
commit 2a3f00ccfd0a3d3ec9c121095077469d57588c01
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Sat Jul 16 14:26:38 2011 +0100

    Use shared ktelepathy notifyrc file
---
 src/textchannelapprover.cpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/textchannelapprover.cpp b/src/textchannelapprover.cpp
index f794394..c196b4b 100644
--- a/src/textchannelapprover.cpp
+++ b/src/textchannelapprover.cpp
@@ -22,6 +22,7 @@
 #include <KLocale>
 #include <KGlobal>
 #include <KDebug>
+#include <KAboutData>
 #include <TelepathyQt4/ReceivedMessage>
 #include <TelepathyQt4/AvatarData>
 #include <TelepathyQt4/ContactManager>
@@ -53,9 +54,10 @@ TextChannelApprover::~TextChannelApprover()
 void TextChannelApprover::onMessageReceived(const Tp::ReceivedMessage & msg)
 {
     if (!m_notification) {
-        m_notification = new KNotification("new_text_message");
-        m_notification.data()->setComponentData(TpKDEApproverFactory::componentData());
-
+        m_notification = new KNotification("new_text_message");     
+        KAboutData aboutData("ktelepathy",0,KLocalizedString(),0);
+        m_notification.data()->setComponentData(KComponentData(aboutData));
+        
         Tp::ContactPtr sender = msg.sender();
         if (sender) {
             m_notification.data()->setTitle(sender->alias());

-- 
ktp-approver packaging



More information about the pkg-kde-commits mailing list