[blam] ChannelCollection: make sure to update the UI when reading an item
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] ChannelCollection: make sure to update the UI when reading an item
- Date: Sat, 16 Mar 2013 00:32:29 +0000 (UTC)
commit 7e612f3b3112667ae698457fd313ad250558c01d
Author: Carlos Martín Nieto <cmn dwim me>
Date: Sat Mar 16 01:30:59 2013 +0100
ChannelCollection: make sure to update the UI when reading an item
Make sure to signal the channel as changed when an item has been
marked read or unread. Previously some updates went missing.
src/ChannelCollection.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ChannelCollection.cs b/src/ChannelCollection.cs
index 9a23c02..86dd8c1 100644
--- a/src/ChannelCollection.cs
+++ b/src/ChannelCollection.cs
@@ -205,7 +205,8 @@ namespace Imendio.Blam {
public void Updated (IChannel channel)
{
- MarkAsDirty (true);
+ MarkAsDirty (true);
+ new MainloopEmitter(this.ChannelRefreshFinished, channel as Channel).Emit ();
if (ChannelUpdated != null) {
ChannelUpdated (channel);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]