Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2006-07-26 14:57:53 +0000
committerGrant Gayed2006-07-26 14:57:53 +0000
commit179b060e1615e56c841767a7ec7428ff03505dd5 (patch)
tree360c070688ea4fb1c99be3aed7bcee4e6403262f
parent54f5348b3e324463bb13ca0885dae2939978f3fe (diff)
downloadeclipse.platform.swt-179b060e1615e56c841767a7ec7428ff03505dd5.tar.gz
eclipse.platform.swt-179b060e1615e56c841767a7ec7428ff03505dd5.tar.xz
eclipse.platform.swt-179b060e1615e56c841767a7ec7428ff03505dd5.zip
151228
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java
index 99a8845c65..0599dcd72f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java
@@ -226,8 +226,8 @@ public int ConfirmEx(int parent, int dialogTitle, int text, int buttonFlags, int
}
String button1Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_0, button0Title);
- String button2Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_1, button0Title);
- String button3Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_2, button0Title);
+ String button2Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_1, button1Title);
+ String button3Label = getLabel(buttonFlags, nsIPromptService.BUTTON_POS_2, button2Title);
PromptDialog dialog = new PromptDialog(browser.getShell());
int[] check = new int[1], result = new int[1];
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java b/bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
index 781b2d6b0c..0c0bede7f7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
@@ -227,8 +227,8 @@ public int /*long*/ ConfirmEx(int /*long*/ parent, int /*long*/ dialogTitle, int
}
String button1Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_0, button0Title);
- String button2Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_1, button0Title);
- String button3Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_2, button0Title);
+ String button2Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_1, button1Title);
+ String button3Label = getLabel((int)/*64*/buttonFlags, nsIPromptService.BUTTON_POS_2, button2Title);
PromptDialog dialog = new PromptDialog(browser.getShell());
int[] check = new int[1], result = new int[1];

Back to the top