[Bug 47100] add a way to create accounts with properties, without knowing property names/namespaces

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 26 03:58:12 CEST 2012


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

--- Comment #3 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2012-04-26 01:58:12 UTC ---
(In reply to comment #0)
> There should be a less D-Bus-API-dependent way to create accounts with
> specified values for properties. Something like this, perhaps (in pygi-like
> pseudocode):
> 
>     future = Tp.FutureAccount(Tp.AccountManager.dup(),
>         "gabble", "jabber")
> 
>     future.set_display_name('Main Jabber account')
>     future.set_parameter('account', 'me at example.com')

Do we want to make this have some kind of prepare function so it can get the
TpProtocol to verify each connection parameter before calling CreateAccount and
finding the params are wrong later?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list