Messages: fix copy-paste error -> warning

This commit is contained in:
Kirill Likhodedov
2011-10-10 17:36:33 +04:00
parent bdd2e54f8a
commit 72d1284347
@@ -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;
}