diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-08-14 00:15:16 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-08-14 00:15:16 (GMT) |
commit | 74bb68d407b2ea5b0d36d053e5e7d6e24f7bdddb (patch) | |
tree | 9815315f0c4bd52135fd5053ab16f942e42b4eb5 | |
parent | f52754ed021336589cde06ee0dab81368745f364 (diff) |
Workaround to invalidate current Journal's view on pupulating
-rw-r--r-- | sugar_network/local/dbus_datastore.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar_network/local/dbus_datastore.py b/sugar_network/local/dbus_datastore.py index 5df01ab..740cda4 100644 --- a/sugar_network/local/dbus_datastore.py +++ b/sugar_network/local/dbus_datastore.py @@ -47,6 +47,9 @@ class Datastore(dbus_thread.Service): self.Updated(event['guid']) elif event_type == 'delete': self.Deleted(event['guid']) + elif event_type == 'populate': + # XXX No other way to invalidate current Journal's view + self.Deleted('fake-on-populate') @signal(_INTERFACE, signature='s') def Created(self, uid): |