eric6/Project/ProjectBrowser.py

changeset 7635
0cdead130a81
parent 7533
88261c96484b
child 7780
41420f82c0ac
equal deleted inserted replaced
7634:8c3d033e5044 7635:0cdead130a81
281 Private method to set the right icon for the sources browser tab. 281 Private method to set the right icon for the sources browser tab.
282 """ 282 """
283 if not self.project.isOpen(): 283 if not self.project.isOpen():
284 icon = UI.PixmapCache.getIcon("projectSources") 284 icon = UI.PixmapCache.getIcon("projectSources")
285 else: 285 else:
286 if self.project.getProjectLanguage() in [ 286 if self.project.getProjectLanguage() == "Python3":
287 "Python", "Python2", "Python3"
288 ]:
289 if self.project.isMixedLanguageProject(): 287 if self.project.isMixedLanguageProject():
290 icon = UI.PixmapCache.getIcon("projectSourcesPyMixed") 288 icon = UI.PixmapCache.getIcon("projectSourcesPyMixed")
291 else: 289 else:
292 icon = UI.PixmapCache.getIcon("projectSourcesPy") 290 icon = UI.PixmapCache.getIcon("projectSourcesPy")
293 elif self.project.getProjectLanguage() == "MicroPython": 291 elif self.project.getProjectLanguage() == "MicroPython":

eric ide

mercurial