[Bug 71390] add API for accounts that cannot be disabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 8 08:26:49 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71390

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
Created attachment 88899
  --> https://bugs.freedesktop.org/attachment.cgi?id=88899&action=edit
[2/2] Replace McdAccount::always-on with the existing 
TpStorageRestrictionFlags

I used CANNOT_SET_PRESENCE to control access to ConnectAutomatically
as well as the obvious AutomaticPresence and RequestedPresence, because
RequestedPresence is not under the storage plugin's control - it is
derived from ConnectAutomatically and AutomaticPresence at runtime.

Use MCD_DBUS_PROP_SET_FLAG_ALREADY_IN_STORAGE as a way to bypass the
storage restriction flags, so that storage plugins themselves can
alter enabledness etc. even if they don't allow MC to change it.

The regression test for this initially failed, because toggled_cb()
did not pass that flag to the McdAccount: fix that too.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the telepathy-bugs mailing list