I think it sets a bad precedent to require this logic in the userscript
as we can't count on the web to be well behaved. Furthermore each
additional guideline we have to place on userscript authors adds an
additional pain.

I think it should be filtered in the context daemon (IndicatorView).

Filtering it in the context daemon as opposed to the API has a small
benefit. Namely imagine the following state.

GMail, interest 1: ShowIndicator(count -> 3)
(time passes)
GMail, interest 2: ShowIndicator(count -> 0)

The indicator should be filtered from the view.

** Changed in: libunity-webapps
       Status: Invalid => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1071640

Title:
  GMail webapps shows time rather than count in messaging menu when no
  unread emails

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-messages/+bug/1071640/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to