mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 856935 - Suppress downloads complete indicator glow when downloads view is open. r=mconley
This commit is contained in:
parent
859a9538b1
commit
51523db4b6
@ -791,6 +791,10 @@ function DownloadsPlacesView(aRichListBox, aActive = true) {
|
||||
let downloadsData = DownloadsCommon.getData(window.opener || window);
|
||||
downloadsData.addView(this);
|
||||
|
||||
// Get the Download button out of the attention state since we're about to
|
||||
// view all downloads.
|
||||
DownloadsCommon.getIndicatorData(window).attention = false;
|
||||
|
||||
// Make sure to unregister the view if the window is closed.
|
||||
window.addEventListener("unload", function() {
|
||||
window.controllers.removeController(this);
|
||||
|
Loading…
Reference in New Issue
Block a user