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(): |