32 from E5Gui.E5OverrideCursor import E5OverrideCursor, E5OverridenCursor |
32 from E5Gui.E5OverrideCursor import E5OverrideCursor, E5OverridenCursor |
33 |
33 |
34 from Globals import recentNameProject |
34 from Globals import recentNameProject |
35 |
35 |
36 import UI.PixmapCache |
36 import UI.PixmapCache |
|
37 from UI.NotificationWidget import NotificationTypes |
37 |
38 |
38 from E5Gui.E5Action import E5Action, createActionGroup |
39 from E5Gui.E5Action import E5Action, createActionGroup |
39 |
40 |
40 import Preferences |
41 import Preferences |
41 import Utilities |
42 import Utilities |
5480 self.ui.showNotification( |
5481 self.ui.showNotification( |
5481 UI.PixmapCache.getPixmap("pluginArchive48"), |
5482 UI.PixmapCache.getPixmap("pluginArchive48"), |
5482 self.tr("Create Plugin Archive"), |
5483 self.tr("Create Plugin Archive"), |
5483 self.tr("<p>The eric6 plugin archive files were " |
5484 self.tr("<p>The eric6 plugin archive files were " |
5484 "created with some errors.</p>"), |
5485 "created with some errors.</p>"), |
|
5486 kind=NotificationTypes.Critical, |
5485 timeout=0) |
5487 timeout=0) |
5486 else: |
5488 else: |
5487 self.ui.showNotification( |
5489 self.ui.showNotification( |
5488 UI.PixmapCache.getPixmap("pluginArchive48"), |
5490 UI.PixmapCache.getPixmap("pluginArchive48"), |
5489 self.tr("Create Plugin Archive"), |
5491 self.tr("Create Plugin Archive"), |
5748 """ make target to be rebuilt.</p>""") |
5750 """ make target to be rebuilt.</p>""") |
5749 |
5751 |
5750 self.ui.showNotification( |
5752 self.ui.showNotification( |
5751 UI.PixmapCache.getPixmap("makefile48"), |
5753 UI.PixmapCache.getPixmap("makefile48"), |
5752 title, |
5754 title, |
5753 message) |
5755 message, |
|
5756 kind=NotificationTypes.Warning, |
|
5757 timeout=0) |
5754 elif exitCode > 1: |
5758 elif exitCode > 1: |
5755 E5MessageBox.critical( |
5759 E5MessageBox.critical( |
5756 self.ui, |
5760 self.ui, |
5757 self.tr("Execute Make"), |
5761 self.tr("Execute Make"), |
5758 self.tr("""The makefile contains errors.""")) |
5762 self.tr("""The makefile contains errors.""")) |