Thu, 10 Jun 2010 09:14:43 +0200
Fixed another case related issue on Windows.
--- a/MultiProject/MultiProject.py Wed Jun 09 17:47:05 2010 +0200 +++ b/MultiProject/MultiProject.py Thu Jun 10 09:14:43 2010 +0200 @@ -840,8 +840,9 @@ Private method to synchronize the list of recently opened multi projects with the central store. """ - if self.pfile in self.recent: - self.recent.remove(self.pfile) + for recent in self.recent[:]: + if Utilities.samepath(self.pfile, recent): + self.recent.remove(recent) self.recent.insert(0, self.pfile) maxRecent = Preferences.getProject("RecentNumber") if len(self.recent) > maxRecent:
--- a/Project/Project.py Wed Jun 09 17:47:05 2010 +0200 +++ b/Project/Project.py Thu Jun 10 09:14:43 2010 +0200 @@ -3873,8 +3873,9 @@ Private method to synchronize the list of recently opened projects with the central store. """ - if self.pfile in self.recent: - self.recent.remove(self.pfile) + for recent in self.recent[:]: + if Utilities.samepath(self.pfile, recent): + self.recent.remove(recent) self.recent.insert(0, self.pfile) maxRecent = Preferences.getProject("RecentNumber") if len(self.recent) > maxRecent: @@ -3919,7 +3920,7 @@ """ Private method to clear the recent projects menu. """ - self.recent.clear() + self.recent = [] def __searchNewFiles(self): """
--- a/QScintilla/Terminal.py Wed Jun 09 17:47:05 2010 +0200 +++ b/QScintilla/Terminal.py Thu Jun 10 09:14:43 2010 +0200 @@ -381,7 +381,7 @@ """ Private slot to clear the current history. """ - self.history.clear() + self.history = [] def __selectHistory(self): """
--- a/ViewManager/ViewManager.py Wed Jun 09 17:47:05 2010 +0200 +++ b/ViewManager/ViewManager.py Thu Jun 10 09:14:43 2010 +0200 @@ -3220,8 +3220,9 @@ @param fn name of the file to be added """ - if fn in self.recent: - self.recent.remove(fn) + for recent in self.recent[:]: + if Utilities.samepath(fn, recent): + self.recent.remove(recent) self.recent.insert(0, fn) maxRecent = Preferences.getUI("RecentNumber") if len(self.recent) > maxRecent: