From 72d128434754be9879b7d5313feee8e97c0d532a Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Mon, 10 Oct 2011 17:12:04 +0400 Subject: [PATCH] Messages: fix copy-paste error -> warning --- .../platform-api/src/com/intellij/openapi/ui/Messages.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java index 34db66371455..00c7bfbbbbef 100644 --- a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java +++ b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java @@ -432,7 +432,7 @@ public class Messages { public static void showWarningDialog(Project project, String message, String title) { if (canShowMacSheetPanel()) { - MacMessages.getInstance().showErrorDialog(CommonBundle.getErrorTitle(), message, OK_BUTTON, WindowManager.getInstance().suggestParentWindow(project)); + MacMessages.getInstance().showErrorDialog(CommonBundle.getWarningTitle(), message, OK_BUTTON, WindowManager.getInstance().suggestParentWindow(project)); return; } @@ -441,7 +441,7 @@ public class Messages { public static void showWarningDialog(Component component, String message, String title) { if (canShowMacSheetPanel()) { - MacMessages.getInstance().showErrorDialog(CommonBundle.getErrorTitle(), message, OK_BUTTON, SwingUtilities.getWindowAncestor(component)); + MacMessages.getInstance().showErrorDialog(CommonBundle.getWarningTitle(), message, OK_BUTTON, SwingUtilities.getWindowAncestor(component)); return; } @@ -456,7 +456,7 @@ public class Messages { */ public static void showWarningDialog(String message, String title) { if (canShowMacSheetPanel()) { - MacMessages.getInstance().showErrorDialog(CommonBundle.getErrorTitle(), message, OK_BUTTON, null); + MacMessages.getInstance().showErrorDialog(CommonBundle.getWarningTitle(), message, OK_BUTTON, null); return; }