aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-15 11:13:19 -0500
committerTed Gould <ted@gould.cx>2010-09-15 11:13:19 -0500
commit7ccd34583de6941621ad5a13741897212f009d41 (patch)
treed66c77a359c69fa2bc882e18181ac14006e5925f
parent4054bd4adec4296a6b70a7820a9690cf17f3613e (diff)
parent8e221f4cb70ca80278dc300afd59a5d9b538dc40 (diff)
downloadlibayatana-appindicator-7ccd34583de6941621ad5a13741897212f009d41.tar.gz
libayatana-appindicator-7ccd34583de6941621ad5a13741897212f009d41.tar.bz2
libayatana-appindicator-7ccd34583de6941621ad5a13741897212f009d41.zip
* Upstream Merge
* Update the icon if the item is visible
-rw-r--r--debian/changelog7
-rw-r--r--src/application-service-appstore.c9
2 files changed, 15 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 20744ca..4c7aa00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+indicator-application (0.2.7-0ubuntu1~ppa2~attention1) UNRELEASED; urgency=low
+
+ * Upstream Merge
+ * Update the icon if the item is visible
+
+ -- Ted Gould <ted@ubuntu.com> Wed, 15 Sep 2010 11:12:52 -0500
+
indicator-application (0.2.7-0ubuntu1~ppa1) maverick; urgency=low
* New upstream release.
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;
}