Bug 33153 - Creating accounts could use a high level method for setting initial properties
Summary: Creating accounts could use a high level method for setting initial properties
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-qt (show other bugs)
Version: unspecified
Hardware: Other All
: low enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-15 08:00 UTC by Thomas Richard
Modified: 2019-12-03 20:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Thomas Richard 2011-01-15 08:00:12 UTC
Currently you have to know the D-Bus paths to set an initial property when creating an account.

Oggis told me something like an AccountInitialProperties class would be nice to have.
Comment 1 Olli Salli 2011-04-23 03:45:42 UTC
Indeed, we did a lot of work to weed out the uses of bare QVariantMaps with "well-known" keys in tp-qt4 0.5, but it seems we missed one case, which has confused at least two people by now (and counting).

The class should be similar to our other bare variant map wrappers, with friendly accessors for commonly used properties, but retaining bare map access to allow extensions.

Additionally, it could use integration with the SupportedAccountProperties property described here: http://telepathy.freedesktop.org/spec/Account_Manager.html#Property:SupportedAccountProperties

such that you'd have some methods for checking whether setting a particular property is supported, and perhaps warnings for attempts to set with no support. This requires the wrapper class to be linked up to an introspected AccountManager, though.
Comment 2 GitLab Migration User 2019-12-03 20:28:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-qt/issues/19.


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.