Bug 464146 - about:rights notification sometimes not shown with session restore. r=gavin, ui-r=beltzner, a191b2=beltzner

This commit is contained in:
Justin Dolske
2008-11-18 23:09:33 -08:00
parent 78d7ecc710
commit 08acadc47b

View File

@@ -433,7 +433,8 @@ BrowserGlue.prototype = {
var currentVersion = this._prefs.getIntPref("browser.rights.version");
this._prefs.setBoolPref("browser.rights." + currentVersion + ".shown", true);
notifyBox.appendNotification(notifyText, "about-rights", null, notifyBox.PRIORITY_INFO_LOW, buttons);
var box = notifyBox.appendNotification(notifyText, "about-rights", null, notifyBox.PRIORITY_INFO_LOW, buttons);
box.persistence = 3; // arbitrary number, just so bar sticks around for a bit
},
// returns the (cached) Sanitizer constructor