mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
Bug 570156 - Convert download dialog to a nsIPromptService prompt (missed a nit) [r=mbrubeck]
This commit is contained in:
parent
1da6992c36
commit
70fc4ee2e2
@ -61,8 +61,7 @@ HelperAppLauncherDialog.prototype = {
|
||||
let bundle = sbs.createBundle("chrome://browser/locale/browser.properties");
|
||||
|
||||
let prompter = Cc["@mozilla.org/embedcomp/prompt-service;1"].getService(Ci.nsIPromptService);
|
||||
let flags = Ci.nsIPrompt.BUTTON_POS_1_DEFAULT +
|
||||
(Ci.nsIPrompt.BUTTON_TITLE_IS_STRING * Ci.nsIPrompt.BUTTON_POS_0) +
|
||||
let flags = (Ci.nsIPrompt.BUTTON_TITLE_IS_STRING * Ci.nsIPrompt.BUTTON_POS_0) +
|
||||
(Ci.nsIPrompt.BUTTON_TITLE_IS_STRING * Ci.nsIPrompt.BUTTON_POS_1);
|
||||
|
||||
let title = bundle.GetStringFromName("helperApp.title");
|
||||
|
Loading…
Reference in New Issue
Block a user