370 for key in keys: |
370 for key in keys: |
371 for fn in self.project.pdata[key]: |
371 for fn in self.project.pdata[key]: |
372 states[os.path.normcase(os.path.join(self.project.ppath, fn))] = 0 |
372 states[os.path.normcase(os.path.join(self.project.ppath, fn))] = 0 |
373 |
373 |
374 self.project.vcs.clearStatusCache() |
374 self.project.vcs.clearStatusCache() |
375 for dir in self.project.subdirs: |
375 states = self.project.vcs.vcsAllRegisteredStates(states, self.project.ppath) |
376 states = self.project.vcs.vcsAllRegisteredStates(states, |
|
377 os.path.join(self.project.ppath, dir)) |
|
378 |
|
379 for dir in self.project.otherssubdirs: |
|
380 if not os.path.isabs(dir): |
|
381 dir = os.path.join(self.project.ppath, dir) |
|
382 states = self.project.vcs.vcsAllRegisteredStates(states, dir) |
|
383 |
|
384 if self.project.pdata["TRANSLATIONPATTERN"]: |
|
385 dir = os.path.join(self.project.ppath, |
|
386 self.project.pdata["TRANSLATIONPATTERN"][0])\ |
|
387 .split("%language%")[0] |
|
388 if not os.path.isdir(dir): |
|
389 dir = os.path.dirname(dir) |
|
390 states = self.project.vcs.vcsAllRegisteredStates(states, dir) |
|
391 |
376 |
392 self.inRefresh = True |
377 self.inRefresh = True |
393 for key in keys: |
378 for key in keys: |
394 # Show the entry in bold in the others browser to make it more distinguishable |
379 # Show the entry in bold in the others browser to make it more distinguishable |
395 if key == "OTHERS": |
380 if key == "OTHERS": |