Emitting ::altered in an McpAccountStorage plugin does nothing.
This patch exposes an mcd_account_set_enabled that can be called by both the D-Bus property setter and by the McdAccountManager.
http://git.collabora.co.uk/?p=user/danni/telepathy-mission-control.git;a=shortlog;h=refs/heads/implement-acct-toggled
Err, poop. I posted this to the wrong bug report. Swapping the titles :-P
> +gboolean > +mcd_account_set_enabled (McdAccount *account, This should be _mcd_account_set_enabled in mcd-account-priv.h (-priv is the MC equivalent of -internal in telepathy-glib). Adding more API to libmissioncontrol-server is deprecated, while we try to get rid of it. > + mcd_account_set_enabled (account, on, FALSE, &error); > + if (error != NULL) Trivia: blank line before "if", please.
(In reply to comment #4) > > +gboolean > > +mcd_account_set_enabled (McdAccount *account, > > This should be _mcd_account_set_enabled in mcd-account-priv.h (-priv is the MC > equivalent of -internal in telepathy-glib). Adding more API to > libmissioncontrol-server is deprecated, while we try to get rid of it. > > > + mcd_account_set_enabled (account, on, FALSE, &error); > > + if (error != NULL) > > Trivia: blank line before "if", please. Both of these are fixed and this is merged.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.