telepathy-mission-control: McdAccount: add a way to tell property setters that storage has already been updated

Simon McVittie smcv at kemper.freedesktop.org
Wed Feb 13 06:45:04 PST 2013


Module: telepathy-mission-control
Branch: master
Commit: 0a3f99bb6bb8703777e0060fa378360958a25032
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=0a3f99bb6bb8703777e0060fa378360958a25032

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue Sep 11 18:01:04 2012 +0100

McdAccount: add a way to tell property setters that storage has already been updated

This lets us get AccountPropertyChanged signals for more attributes
changed via McpAccountStorage::altered-one, which would previously be
suppressed because altered-one's API is that the storage plugin has
already updated the McdStorage before emitting the signal. The
property setter would then notice that the value was the same as
in McdStorage, and assume that that meant it hadn't actually changed.

---

 src/mcd-account-conditions.c                       |   14 ++-
 src/mcd-account-manager.c                          |   15 ++-
 src/mcd-account-priv.h                             |    1 +
 src/mcd-account.c                                  |  105 ++++++++++++++------
 src/mcd-dbusprop.c                                 |    3 +-
 src/mcd-dbusprop.h                                 |   12 ++-
 .../account-manager/backend-makes-changes.py       |   66 ++++++++++---
 7 files changed, 162 insertions(+), 54 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-mission-control/diff/?id=0a3f99bb6bb8703777e0060fa378360958a25032


More information about the telepathy-commits mailing list