This ensures that the UI reflects errors in changing the is-favourite status
of a Tpf.Persona, rather than just blindly assuming they succeed.
is_favourite);
}
- this._is_favourite = is_favourite;
- this.notify_property ("is-favourite");
+ /* The change will be notified when we receive changes from the store. */
}
+ /* Note: Only ever called by Tpf.PersonaStore. */
internal void _set_is_favourite (bool is_favourite)
{
+ if (this._is_favourite == is_favourite)
+ {
+ return;
+ }
+
this._is_favourite = is_favourite;
this.notify_property ("is-favourite");
}