aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-15 14:46:09 -0500
committerTed Gould <ted@gould.cx>2010-09-15 14:46:09 -0500
commitc876d26568d76d4d06b319352cf63928f21dfba5 (patch)
tree29832e473bc6575d37034c68f5b6dd423ae26495 /src
parentb6d9801273a99a5c0b9cb584c6a1cab24f039748 (diff)
parenta4dc11aaecfcb3b51b427394c6fc3ba59fdae402 (diff)
downloadlibayatana-appindicator-c876d26568d76d4d06b319352cf63928f21dfba5.tar.gz
libayatana-appindicator-c876d26568d76d4d06b319352cf63928f21dfba5.tar.bz2
libayatana-appindicator-c876d26568d76d4d06b319352cf63928f21dfba5.zip
Import upstream version 0.2.8
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c9
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;
}