protocol_data field for PurpleAccount

Mark Doliner mark at kingant.net
Mon Jul 20 11:53:19 EDT 2009


On Mon, Jul 20, 2009 at 8:04 AM, Felix Kerekes<sttwister at gmail.com> wrote:
> Hey,
>
> I would like to add a protocol_data field for PurpleAccount. I need this in
> order to sync Pidgin with Telepathy's AccountManager implementation (that
> would be Mission Control 5). So when Pidgin starts, I'll make sure the
> account's parameters are up to date with AccountManager, and then sync again
> on exit if Pidgin changed anything (as a side note, a signal notifying that
> account parameters have changed would be useful too).
>
> Is there any problem with this kind of change? Or perhaps there already is a
> way of doing this that I don't know of.

It seems ok to me... would the information need to be saved in
accounts.xml?  Or would it be reinitialized each time Pidgin is
started?  Was there something about
purple_account_set_[string|int|bool] that makes them inadequate?

-Mark




More information about the Devel mailing list