614 self.tr("Resource Compilation"), |
614 self.tr("Resource Compilation"), |
615 self.tr("The compilation of the resource file" |
615 self.tr("The compilation of the resource file" |
616 " was successful.")) |
616 " was successful.")) |
617 else: |
617 else: |
618 ui.showNotification( |
618 ui.showNotification( |
619 UI.PixmapCache.getPixmap("resourcesCompiler48.png"), |
619 UI.PixmapCache.getPixmap("resourcesCompiler48"), |
620 self.tr("Resource Compilation"), |
620 self.tr("Resource Compilation"), |
621 self.tr("The compilation of the resource file" |
621 self.tr("The compilation of the resource file" |
622 " was successful.")) |
622 " was successful.")) |
623 except IOError as msg: |
623 except IOError as msg: |
624 if not self.noDialog: |
624 if not self.noDialog: |
635 self.tr("Resource Compilation"), |
635 self.tr("Resource Compilation"), |
636 self.tr( |
636 self.tr( |
637 "The compilation of the resource file failed.")) |
637 "The compilation of the resource file failed.")) |
638 else: |
638 else: |
639 ui.showNotification( |
639 ui.showNotification( |
640 UI.PixmapCache.getPixmap("resourcesCompiler48.png"), |
640 UI.PixmapCache.getPixmap("resourcesCompiler48"), |
641 self.tr("Resource Compilation"), |
641 self.tr("Resource Compilation"), |
642 self.tr( |
642 self.tr( |
643 "The compilation of the resource file failed.")) |
643 "The compilation of the resource file failed.")) |
644 self.compileProc = None |
644 self.compileProc = None |
645 |
645 |