mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
add notification group id
GitOrigin-RevId: 4158b6fda98fd9a112ca4d4f5264f11ac84c4a74
This commit is contained in:
committed by
intellij-monorepo-bot
parent
31df2a1b12
commit
1d8a5b0cfa
@@ -82,7 +82,7 @@ public final class EditorColorSchemeDropHandler extends CustomFileDropHandler {
|
||||
}
|
||||
|
||||
colorsManager.setGlobalScheme(imported);
|
||||
Notification notification = new Notification("", LangBundle.message("notification.title.color.scheme.added"), message, NotificationType.INFORMATION);
|
||||
Notification notification = new Notification("Editor notifications", LangBundle.message("notification.title.color.scheme.added"), message, NotificationType.INFORMATION);
|
||||
QuickChangeColorSchemeAction.changeLafIfNecessary(imported, () -> {
|
||||
new Alarm().addRequest(
|
||||
() -> Notifications.Bus.notify(notification, project), 300);
|
||||
@@ -93,7 +93,7 @@ public final class EditorColorSchemeDropHandler extends CustomFileDropHandler {
|
||||
String title = e.isWarning() ? LangBundle.message("notification.title.color.scheme.added")
|
||||
: LangBundle.message("notification.title.color.scheme.import.failed");
|
||||
NotificationType type = e.isWarning() ? NotificationType.WARNING : NotificationType.ERROR;
|
||||
Notification notification = new Notification("", title, e.getMessage(), type);
|
||||
Notification notification = new Notification("Editor notifications", title, e.getMessage(), type);
|
||||
notification.notify(project);
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user