[Bug 293944] Accounts KCM brings accounts to 'Online' presence when enabled
George Kiagiadakis
kiagiadakis.george at gmail.com
Tue Jul 31 17:01:06 BST 2012
https://bugs.kde.org/show_bug.cgi?id=293944
George Kiagiadakis <kiagiadakis.george at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |Future
CC| |kiagiadakis.george at gmail.co
| |m
--- Comment #1 from George Kiagiadakis <kiagiadakis.george at gmail.com> ---
Currently the KCM itself does:
if (enabled) {
// connect the account
AccountItem *item =
index.data(AccountsListModel::AccountItemRole).value<AccountItem*>();
if (item) {
item->account()->setRequestedPresence(Tp::Presence::available());
}
}
A possible solution, I think, would be to let the kded module listen to the
"enabledChanged" signal and set the presence appropriately there. This way, the
KCM won't have to know about it. Or alternatively, we could save the current
global presence in the AutomaticPresence of all accounts and set
ConnectAutomatically to true, although I'm not sure if that will work very
well.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kde-telepathy-bugs
mailing list