GNOME Bugzilla – Bug 658332
Deprecate PersonaStore.can-[alias|group]-personas
Last modified: 2011-09-20 13:14:03 UTC
From my e-mail of 2011-09-03: • PersonaStore.can-alias-personas and PersonaStore.can-group-personas should be deprecated in favour of PersonaStore.always-writeable-properties and Persona.writeable-properties. I don't think losing the MaybeBool.UNSET state (i.e. going from a tri-state to a boolean) should cause any problems, since in practice MaybeBool.UNSET was treated identically to MaybeBool.FALSE. The only place I can find them being used is in Empathy, which just checks for can-[alias|group]-personas == MaybeBool.TRUE; effectively treating .FALSE and .UNSET as identical. I guess there might be other software which cares more, though. What about QtFolks? If it does, this bug might have to be reconsidered. Regardless, the API is doing little harm at the moment, so there's no pressure to get it removed for GNOME 3.2.
Created attachment 196926 [details] [review] patch Following up with a ticket (and patch) against Empathy to use always-writeable-properties.
Bug report for Empathy: https://bugzilla.gnome.org/show_bug.cgi?id=659476
Review of attachment 196926 [details] [review]: Looks good to me.
Review of attachment 196926 [details] [review]: Looks good to me, with these minor changes. ::: NEWS @@ +6,3 @@ +API changes: +* Deprecate Folks.PersonaStore.can_alias_personas +* Deprecate Folks.PersonaStore.can_group_personas Would be useful to give a hint that people should use Persona.writeable-properties instead and PersonaStore.always-writeable-properties instead. ::: folks/persona-store.vala @@ +450,3 @@ * @since 0.3.1 */ + [Deprecated (since = "0.6.4", s/0.6.4/UNRELEASED/ @@ +463,3 @@ * @since 0.3.1 */ + [Deprecated (since = "0.6.4", s/0.6.4/UNRELEASED/
Merged: commit 67f55ab19dc994559f224c3d006aed81789cde04 Author: Raul Gutierrez Segales <rgs@collabora.co.uk> Date: Mon Sep 19 12:38:08 2011 +0100 Deprecate PersonaStore.can-[alias|group]-personas Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=658332