mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1042463 - "System Update Ready" prompt keeps coming back and remind me battery is not 50% charged. r=fabrice
This commit is contained in:
parent
b7aed326ae
commit
9221346422
@ -312,6 +312,9 @@ UpdatePrompt.prototype = {
|
||||
}
|
||||
|
||||
switch (aDetail.result) {
|
||||
// Battery not okay, do not wait for idle to re-prompt
|
||||
case "low-battery":
|
||||
break;
|
||||
case "wait":
|
||||
// Wait until the user is idle before prompting to apply the update
|
||||
this.waitForIdle();
|
||||
|
Loading…
Reference in New Issue
Block a user