diff options
author | Ted Gould <ted@gould.cx> | 2010-09-15 14:10:51 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-09-15 14:10:51 -0500 |
commit | 7d4feea4bb5613bc49de9a0c71dd9cae484351c4 (patch) | |
tree | 901406e0f4f9144fd12c6241616c90d1cc53998d /src | |
parent | 4054bd4adec4296a6b70a7820a9690cf17f3613e (diff) | |
parent | f30ec961b5f723ef9a55a3c4e95806f7cad69094 (diff) | |
download | ayatana-indicator-application-7d4feea4bb5613bc49de9a0c71dd9cae484351c4.tar.gz ayatana-indicator-application-7d4feea4bb5613bc49de9a0c71dd9cae484351c4.tar.bz2 ayatana-indicator-application-7d4feea4bb5613bc49de9a0c71dd9cae484351c4.zip |
* Upstream Merge
* Update the icon if the item is visible
Diffstat (limited to 'src')
-rw-r--r-- | src/application-service-appstore.c | 9 |
1 files changed, 8 insertions, 1 deletions
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; } |