From 8e221f4cb70ca80278dc300afd59a5d9b538dc40 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 15 Sep 2010 11:12:42 -0500 Subject: Allowing updates if the item is visible. --- src/application-service-appstore.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/application-service-appstore.c') diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 7096382..46118bb 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -602,7 +602,14 @@ apply_status (Application * app) } /* Nothing needs to change, we're good */ - if (app->visible_state == goal_state) { + if (app->visible_state == goal_state /* ) { */ + && goal_state == VISIBLE_STATE_HIDDEN) { + /* TODO: Uhg, this is a little wrong in that we're going to + send an icon every time the status changes and the indicator + is visible even though it might not be updating. But, at + this point we need a small patch that is harmless. In the + future we need to track which icon is shown and remove the + duplicate message. */ return; } -- cgit v1.2.3