eric6/Project/Project.py

changeset 7959
44e15eda6506
parent 7955
567f2ec958c3
child 7960
e8fc383322f7
diff -r a70ebfad3d0e -r 44e15eda6506 eric6/Project/Project.py
--- a/eric6/Project/Project.py	Tue Jan 05 15:14:40 2021 +0100
+++ b/eric6/Project/Project.py	Tue Jan 05 18:28:31 2021 +0100
@@ -34,6 +34,7 @@
 from Globals import recentNameProject
 
 import UI.PixmapCache
+from UI.NotificationWidget import NotificationTypes
 
 from E5Gui.E5Action import E5Action, createActionGroup
 
@@ -5482,6 +5483,7 @@
                 self.tr("Create Plugin Archive"),
                 self.tr("<p>The eric6 plugin archive files were "
                         "created with some errors.</p>"),
+                kind=NotificationTypes.Critical,
                 timeout=0)
         else:
             self.ui.showNotification(
@@ -5750,7 +5752,9 @@
                 self.ui.showNotification(
                     UI.PixmapCache.getPixmap("makefile48"),
                     title,
-                    message)
+                    message,
+                    kind=NotificationTypes.Warning,
+                    timeout=0)
             elif exitCode > 1:
                 E5MessageBox.critical(
                     self.ui,

eric ide

mercurial