--- a/MultiProject/MultiProject.py Tue Jul 27 12:33:08 2010 +0200 +++ b/MultiProject/MultiProject.py Tue Jul 27 12:44:19 2010 +0200 @@ -860,11 +860,11 @@ idx = 1 for rp in self.recent: if idx < 10: - formatStr = '&%d. %s' + formatStr = '&{0:d}. {1}' else: - formatStr = '%d. %s' + formatStr = '{0:d}. {1}' act = self.recentMenu.addAction(\ - formatStr % (idx, + formatStr.format(idx, Utilities.compactPath(rp, self.ui.maxMenuFilePathLen))) act.setData(rp) act.setEnabled(QFileInfo(rp).exists())