Permalink
Browse files

merge backout, CLOSED TREE

  • Loading branch information...
2 parents 71d7e55 + 7030fba commit 47a3f69a1483c1d2f3f7a2a90ce6a83566ad9fc1 Dão Gottwald committed Sep 27, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 browser/base/content/tabbrowser.xml
@@ -566,10 +566,10 @@
if (this.mTab.hasAttribute("busy")) {
this.mTab.removeAttribute("busy");
this.mTabBrowser._tabAttrModified(this.mTab);
- if (!this.mTab.selected) {
- this.mTab.setAttribute("unread", "true");
}
this.mTab.removeAttribute("progress");
+ if (!this.mTab.selected)
+ this.mTab.setAttribute("unread", "true");
var location = aRequest.QueryInterface(nsIChannel).URI;
@@ -876,8 +876,7 @@
(window.windowState != window.STATE_MINIMIZED);
this.mCurrentBrowser = newBrowser;
this.mCurrentTab = this.selectedTab;
- if (!this._previewMode)
- this.mCurrentTab.removeAttribute("unread");
+ this.mCurrentTab.removeAttribute("unread");
this.showTab(this.mCurrentTab);
if (updatePageReport)

0 comments on commit 47a3f69

Please sign in to comment.