On Sat, Apr 23, 2011 at 3:55 AM, David Edmundson <[email protected]> wrote: > > Managed to answer my own question: > setServiceName() on the newly created account. > Can I still request/suggest that serviceName becomes an optional parameter > to AccountManager::CreateAccount() ? > >
Actually there is a properties optional param which you can use to set whichever property on the created account. Sadly, one has to figure out that they actually want to set the "org.freedesktop.Telepathy.Account.Service" property in that bare variant map! Some time ago I discussed with Thomas Richard a cunning plan to avoid that, by replacing the method with one that takes a helper variantmap wrapper class such as AccountInitialProperties, which you could fill using accessors like setServiceName() before passing to createAccount. I failed to document this initiative, though, a failing now corrected at https://bugs.freedesktop.org/show_bug.cgi?id=33153. Contributions welcome... I don't think I have the time to implement that class myself very soon, but would be glad to review it. -- Br, Olli Salli _______________________________________________ telepathy mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/telepathy
