Project/ProjectBrowser.py

changeset 3448
a690e5bcad1b
parent 3438
29717a5e8b97
child 3515
1b8381afe38f
child 3522
260420562809
equal deleted inserted replaced
3447:64fb656bd334 3448:a690e5bcad1b
295 elif self.project.pdata["PROGLANGUAGE"][0] == "Ruby": 295 elif self.project.pdata["PROGLANGUAGE"][0] == "Ruby":
296 if self.project.pdata["MIXEDLANGUAGE"][0]: 296 if self.project.pdata["MIXEDLANGUAGE"][0]:
297 icon = UI.PixmapCache.getIcon("projectSourcesRbMixed.png") 297 icon = UI.PixmapCache.getIcon("projectSourcesRbMixed.png")
298 else: 298 else:
299 icon = UI.PixmapCache.getIcon("projectSourcesRb.png") 299 icon = UI.PixmapCache.getIcon("projectSourcesRb.png")
300 # TODO: add icon for JavaScript 300 elif self.project.pdata["PROGLANGUAGE"][0] == "JavaScript":
301 icon = UI.PixmapCache.getIcon("projectSourcesJavaScript.png")
301 else: 302 else:
302 icon = UI.PixmapCache.getIcon("projectSources.png") 303 icon = UI.PixmapCache.getIcon("projectSources.png")
303 self.setTabIcon(self.indexOf(self.psBrowser), icon) 304 self.setTabIcon(self.indexOf(self.psBrowser), icon)
304 305
305 def handleEditorChanged(self, fn): 306 def handleEditorChanged(self, fn):

eric ide

mercurial