eric7/Project/ProjectResourcesBrowser.py

branch
eric7
changeset 9150
0eab9aafa3b2
parent 9149
1810eaf18d3f
child 9152
8a68afaf1ba2
equal deleted inserted replaced
9149:1810eaf18d3f 9150:0eab9aafa3b2
837 """ 837 """
838 if self.hooks["compileChangedResources"] is not None: 838 if self.hooks["compileChangedResources"] is not None:
839 self.hooks["compileChangedResources"]( 839 self.hooks["compileChangedResources"](
840 self.project.pdata["RESOURCES"]) 840 self.project.pdata["RESOURCES"])
841 else: 841 else:
842 if len(self.project.pdata["RESOURCES"]) == 0:
843 # The project does not contain resource files
844 return
845
842 progress = EricProgressDialog( 846 progress = EricProgressDialog(
843 self.tr("Determining changed resources..."), 847 self.tr("Determining changed resources..."),
844 self.tr("Abort"), 0, 100, self.tr("%v/%m Resources"), self) 848 self.tr("Abort"), 0, 100, self.tr("%v/%m Resources"), self)
845 progress.setMinimumDuration(0) 849 progress.setMinimumDuration(0)
846 progress.setWindowTitle(self.tr("Resources")) 850 progress.setWindowTitle(self.tr("Resources"))

eric ide

mercurial