515 |
515 |
516 if not self._activating: |
516 if not self._activating: |
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 itm.isPython3File() or itm.isResourcesFile() or itm.isParsable(): |
520 if ( |
|
521 itm.isPython3File() |
|
522 or itm.isResourcesFile() |
|
523 or itm.isParsableFile() |
|
524 ): |
521 self.sourceFile[str].emit(itm.fileName()) |
525 self.sourceFile[str].emit(itm.fileName()) |
522 elif itm.isRubyFile(): |
526 elif itm.isRubyFile(): |
523 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "Ruby") |
527 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "Ruby") |
524 elif itm.isDFile(): |
528 elif itm.isDFile(): |
525 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "D") |
529 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "D") |