[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 11:03:30 CEST 2012


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

--- Comment #4 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2012-04-26 02:03:30 PDT ---
(In reply to comment #3)
> 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?

Something like:

    future.prepare_async(cb)

    def cb(future):
        future.set_parameter('account', 'foo at example.com') # great.
        future.set_parameter('loldongs', 'foo') # this should raise an
exception

so something like this in C:

gboolean
tp_f_a_set_parameter (TpFA *,
                      const gchar *key,
                      GVariant *value,
                      GError **error);

(yes I'll add some easier functions for C, but this one is the most important
for introspection)

-- 
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