Skip to content

Commit 920d068

Browse files
Merge main into feature/ideNotifs
2 parents 2e9c4f6 + 46c4a3c commit 920d068

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/CustomizeNotificationsUi.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,10 @@ object NotificationManager {
5959
add(
6060
NotificationActionList(AwsCoreBundle.message("general.more_dialog")) {
6161
if (url == null) {
62-
Messages.showYesNoDialog(
62+
Messages.showMessageDialog(
6363
project,
6464
message,
6565
title,
66-
AwsCoreBundle.message("general.acknowledge"),
67-
AwsCoreBundle.message("general.cancel"),
6866
AllIcons.General.Error
6967
)
7068
} else {

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationServiceInitializer.kt

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ internal class NotificationServiceInitializer : ProjectActivity {
1313
private val initialized = AtomicBoolean(false)
1414

1515
override suspend fun execute(project: Project) {
16+
ProcessNotificationsBase.getInstance(project)
1617
if (ApplicationManager.getApplication().isUnitTestMode) return
1718
if (initialized.compareAndSet(false, true)) {
1819
val service = NotificationPollingService.getInstance()

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/ProcessNotificationsBase.kt

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class ProcessNotificationsBase(
3131
) {
3232
private val notifListener = mutableListOf<NotifListener>()
3333
init {
34+
LOG.info { "Initializing ProcessNotificationsBase" }
3435
NotificationPollingService.getInstance().addObserver {
3536
retrieveStartupAndEmergencyNotifications()
3637
}

0 commit comments

Comments
 (0)