~ubuntu-branches/ubuntu/maverick/indicator-application/maverick

« back to all changes in this revision

Viewing changes to src/application-service-appstore.c

  • Committer: Bazaar Package Importer
  • Author(s): Ted Gould
  • Date: 2010-09-15 15:05:15 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20100915150515-qgzgboxw9ewsudmb
Tags: 0.2.8-0ubuntu1
* New upstream release.
  * Update the icon if the item is visible (LP: #639643)

Show diffs side-by-side

added added

removed removed

Lines of Context:
602
602
        }
603
603
 
604
604
        /* Nothing needs to change, we're good */
605
 
        if (app->visible_state == goal_state) {
 
605
        if (app->visible_state == goal_state /* ) { */
 
606
                && goal_state == VISIBLE_STATE_HIDDEN) {
 
607
                /* TODO: Uhg, this is a little wrong in that we're going to
 
608
                   send an icon every time the status changes and the indicator
 
609
                   is visible even though it might not be updating.  But, at
 
610
                   this point we need a small patch that is harmless.  In the
 
611
                   future we need to track which icon is shown and remove the
 
612
                   duplicate message. */
606
613
                return;
607
614
        }
608
615