eric6/Debugger/DebugUI.py

changeset 8265
0090cfa83159
parent 8257
28146736bbfc
child 8273
698ae46f40a4
child 8349
b43cf23955aa
diff -r f95dde35d0ab -r 0090cfa83159 eric6/Debugger/DebugUI.py
--- a/eric6/Debugger/DebugUI.py	Mon Apr 26 17:33:08 2021 +0200
+++ b/eric6/Debugger/DebugUI.py	Tue Apr 27 17:25:06 2021 +0200
@@ -170,7 +170,7 @@
         self.passive = Preferences.getDebugger("PassiveDbgEnabled")
     
     def showNotification(self, notification,
-                         kind=NotificationTypes.Information, timeout=None):
+                         kind=NotificationTypes.INFORMATION, timeout=None):
         """
         Public method to show some notification message.
         
@@ -1145,10 +1145,10 @@
                     os.path.basename(program), status, info)
             if status != 0:
                 timeout = 0
-                kind = NotificationTypes.Warning
+                kind = NotificationTypes.WARNING
             else:
                 timeout = None
-                kind = NotificationTypes.Information
+                kind = NotificationTypes.INFORMATION
             self.ui.showNotification(
                 UI.PixmapCache.getPixmap("debug48"),
                 self.tr("Program terminated"), msg, kind=kind,

eric ide

mercurial