src/eric7/UI/Browser.py

branch
eric7
changeset 9609
c2f9c10c47cc
parent 9576
be9f8e7e42e0
child 9612
93b496cc3c88
equal deleted inserted replaced
9608:8dcfd48355df 9609:c2f9c10c47cc
517 self._activating = True 517 self._activating = True
518 for itm in itmList: 518 for itm in itmList:
519 if isinstance(itm, BrowserFileItem): 519 if isinstance(itm, BrowserFileItem):
520 if ( 520 if (
521 itm.isPython3File() 521 itm.isPython3File()
522 or itm.isResourcesFile()
523 # TODO: delegate to the plugin
522 or itm.isIdlFile() 524 or itm.isIdlFile()
525 # TODO: delegate to the plugin
523 or itm.isProtobufFile() 526 or itm.isProtobufFile()
524 or itm.isResourcesFile()
525 ): 527 ):
526 self.sourceFile[str].emit(itm.fileName()) 528 self.sourceFile[str].emit(itm.fileName())
527 elif itm.isRubyFile(): 529 elif itm.isRubyFile():
528 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "Ruby") 530 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "Ruby")
529 elif itm.isDFile(): 531 elif itm.isDFile():

eric ide

mercurial