Summary: | McpAccountStorage::altered-one basically only works for parameters | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Simon McVittie <smcv> |
Component: | mission-control | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | guillaume.desmottes, jonny.lamb, smcv, xclaesse |
Version: | unspecified | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
URL: | http://cgit.freedesktop.org/~smcv/telepathy-mission-control/log/?h=altered-one-54780 | ||
Whiteboard: | one-way-migration | ||
i915 platform: | i915 features: | ||
Bug Depends on: | 54873 | ||
Bug Blocks: | 54874, 54875 |
Description
Simon McVittie
2012-09-11 15:09:24 UTC
This branch follows on from the test for this feature added at the end of Bug #54873. It makes everything in that test actually work... This is part 4 of my account storage refactoring megabranch. This branch contains a data migration step: AutomaticPresenceType, ...Status and ...Message are combined into a new (uss)-valued attribute, AutomaticPresence (yes, we now have a (really dumb) serialization for (uss) in keyfiles). It will not be safe to downgrade past the first release with this branch merged. In commit 05d1af087: @@ -514,10 +520,17 @@ mcp_account_storage_priority (const McpAccountStorage *storage) * like "DisplayName", or "param-" plus a parameter like "account" * * Get a value from the plugin's in-memory cache. - * The plugin is expected to call mcp_account_manager_set_value(), - * and if appropriate, mcp_account_manager_parameter_make_secret(), + * The plugin is expected to call + * Before emitting this signal, the plugin must call + * either mcp_account_manager_set_attribute(), + * mcp_account_manager_set_parameter(), + * or mcp_account_manager_set_value() and (if appropriate) + * mcp_account_manager_parameter_make_secret() * before returning from this method call. There's a stray “The plugin is expected to call” in there. It otherwise looks fine. Fixed in git for 5.15.0 |
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.