Bug 570156 - Convert download dialog to a nsIPromptService prompt (missed a nit) [r=mbrubeck]

This commit is contained in:
Mark Finkle 2010-06-07 15:49:31 -04:00
parent 1da6992c36
commit 70fc4ee2e2

View File

@ -61,9 +61,8 @@ 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) +
(Ci.nsIPrompt.BUTTON_TITLE_IS_STRING * Ci.nsIPrompt.BUTTON_POS_1);
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");
let message = bundle.GetStringFromName("helperApp.prompt");