eric6/Project/Project.py

changeset 7955
567f2ec958c3
parent 7923
91e843545d9a
child 7959
44e15eda6506
equal deleted inserted replaced
7954:d32319ede131 7955:567f2ec958c3
5475 count += 1 5475 count += 1
5476 5476
5477 progress.setValue(len(selectedLists)) 5477 progress.setValue(len(selectedLists))
5478 5478
5479 if errors: 5479 if errors:
5480 message = self.tr("<p>The eric6 plugin archive files were "
5481 "created with some errors.</p>")
5482 else:
5483 message = self.tr("<p>The eric6 plugin archive files were "
5484 "created successfully.</p>")
5485 if self.ui.notificationsEnabled():
5486 self.ui.showNotification( 5480 self.ui.showNotification(
5487 UI.PixmapCache.getPixmap("pluginArchive48"), 5481 UI.PixmapCache.getPixmap("pluginArchive48"),
5488 self.tr("Create Plugin Archive"), 5482 self.tr("Create Plugin Archive"),
5489 message) 5483 self.tr("<p>The eric6 plugin archive files were "
5484 "created with some errors.</p>"),
5485 timeout=0)
5490 else: 5486 else:
5491 E5MessageBox.information( 5487 self.ui.showNotification(
5492 self.ui, 5488 UI.PixmapCache.getPixmap("pluginArchive48"),
5493 self.tr("Create Plugin Archive"), 5489 self.tr("Create Plugin Archive"),
5494 message) 5490 self.tr("<p>The eric6 plugin archive files were "
5491 "created successfully.</p>"))
5495 5492
5496 def __pluginCreateSnapshotArchives(self): 5493 def __pluginCreateSnapshotArchives(self):
5497 """ 5494 """
5498 Private slot to create eric6 plugin archive snapshot releases. 5495 Private slot to create eric6 plugin archive snapshot releases.
5499 """ 5496 """
5748 else: 5745 else:
5749 message = self.tr( 5746 message = self.tr(
5750 """<p>There are changes that require the default""" 5747 """<p>There are changes that require the default"""
5751 """ make target to be rebuilt.</p>""") 5748 """ make target to be rebuilt.</p>""")
5752 5749
5753 if self.ui.notificationsEnabled() and not interactive: 5750 self.ui.showNotification(
5754 self.ui.showNotification( 5751 UI.PixmapCache.getPixmap("makefile48"),
5755 UI.PixmapCache.getPixmap("makefile48"), 5752 title,
5756 title, 5753 message)
5757 message)
5758 else:
5759 E5MessageBox.information(self.ui, title, message)
5760 elif exitCode > 1: 5754 elif exitCode > 1:
5761 E5MessageBox.critical( 5755 E5MessageBox.critical(
5762 self.ui, 5756 self.ui,
5763 self.tr("Execute Make"), 5757 self.tr("Execute Make"),
5764 self.tr("""The makefile contains errors.""")) 5758 self.tr("""The makefile contains errors."""))

eric ide

mercurial