Browse files

merge backout, CLOSED TREE

  • Loading branch information...
2 parents 0570a7c + 0d8f074 commit 69ed3a212d132a33be02bd66bc100a1d025c81cc Dão Gottwald committed Sep 27, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 browser/base/content/tabbrowser.xml
View
7 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 69ed3a2

Please sign in to comment.