2835 return True |
2835 return True |
2836 else: |
2836 else: |
2837 for entry in self.pdata["OTHERS"]: |
2837 for entry in self.pdata["OTHERS"]: |
2838 if newfn.startswith(entry): |
2838 if newfn.startswith(entry): |
2839 return True |
2839 return True |
|
2840 |
|
2841 if Utilities.isWindowsPlatform(): |
|
2842 # try the above case-insensitive |
|
2843 newfn = newfn.lower() |
|
2844 for group in ["SOURCES", "FORMS", "INTERFACES", |
|
2845 "RESOURCES", "TRANSLATIONS", "OTHERS"]: |
|
2846 for entry in self.pdata[group]: |
|
2847 if entry.lower() == newfn: |
|
2848 return True |
|
2849 for entry in self.pdata["OTHERS"]: |
|
2850 if newfn.startswith(entry.lower()): |
|
2851 return True |
|
2852 |
2840 return False |
2853 return False |
2841 |
2854 |
2842 def isProjectSource(self, fn): |
2855 def isProjectSource(self, fn): |
2843 """ |
2856 """ |
2844 Public method used to check, if the passed in filename belongs to the project |
2857 Public method used to check, if the passed in filename belongs to the project |