eric6/Project/Project.py

changeset 7955
567f2ec958c3
parent 7923
91e843545d9a
child 7959
44e15eda6506
--- a/eric6/Project/Project.py	Mon Jan 04 16:39:09 2021 +0100
+++ b/eric6/Project/Project.py	Mon Jan 04 16:39:37 2021 +0100
@@ -5477,21 +5477,18 @@
         progress.setValue(len(selectedLists))
         
         if errors:
-            message = self.tr("<p>The eric6 plugin archive files were "
-                              "created with some errors.</p>")
-        else:
-            message = self.tr("<p>The eric6 plugin archive files were "
-                              "created successfully.</p>")
-        if self.ui.notificationsEnabled():
             self.ui.showNotification(
                 UI.PixmapCache.getPixmap("pluginArchive48"),
                 self.tr("Create Plugin Archive"),
-                message)
+                self.tr("<p>The eric6 plugin archive files were "
+                        "created with some errors.</p>"),
+                timeout=0)
         else:
-            E5MessageBox.information(
-                self.ui,
+            self.ui.showNotification(
+                UI.PixmapCache.getPixmap("pluginArchive48"),
                 self.tr("Create Plugin Archive"),
-                message)
+                self.tr("<p>The eric6 plugin archive files were "
+                        "created successfully.</p>"))
     
     def __pluginCreateSnapshotArchives(self):
         """
@@ -5750,13 +5747,10 @@
                         """<p>There are changes that require the default"""
                         """ make target to be rebuilt.</p>""")
                 
-                if self.ui.notificationsEnabled() and not interactive:
-                    self.ui.showNotification(
-                        UI.PixmapCache.getPixmap("makefile48"),
-                        title,
-                        message)
-                else:
-                    E5MessageBox.information(self.ui, title, message)
+                self.ui.showNotification(
+                    UI.PixmapCache.getPixmap("makefile48"),
+                    title,
+                    message)
             elif exitCode > 1:
                 E5MessageBox.critical(
                     self.ui,

eric ide

mercurial