MultiProject/MultiProject.py

changeset 414
8c91e942d2da
parent 335
5ad648828e2e
child 453
a81097a85889
--- 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())

eric ide

mercurial