[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Fri May 27 23:58:15 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=a2dbf63
The following commit has been merged in the master branch:
commit a2dbf637ddbb04b811170a82fba9137efec0b712
Author: Dominik Schmidt <ich at dominik-schmidt.de>
Date: Thu Aug 5 18:42:46 2010 +0000
Set account icon on account creation.
For now the protocol icon is identical to the protocol icon.
Once the profile spec is finished we can set service icons here.
svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=1159598
---
src/add-account-assistant.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/add-account-assistant.cpp b/src/add-account-assistant.cpp
index 16a323d..79db39b 100644
--- a/src/add-account-assistant.cpp
+++ b/src/add-account-assistant.cpp
@@ -397,6 +397,11 @@ void AddAccountAssistant::onAccountCreated(Tp::PendingOperation *op)
// Get the account pointer.
d->account = pendingAccount->account();
+ // Set the account icon
+ QString icon = QString("im-%1").arg(d->account->protocolName());
+ kDebug() << "Set account icon to: " << icon;
+ d->account->setIcon(icon);
+
kDebug() << "Calling set enabled.";
connect(d->account->setEnabled(true),
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list