Tools/TrayStarter.py

changeset 564
b3d966393ba9
parent 540
2631831b4052
child 701
fc587a1c2f8b
equal deleted inserted replaced
563:e35d2cda9a74 564:b3d966393ba9
366 for rf in self.recentFiles: 366 for rf in self.recentFiles:
367 if idx < 10: 367 if idx < 10:
368 formatStr = '&{0:d}. {1}' 368 formatStr = '&{0:d}. {1}'
369 else: 369 else:
370 formatStr = '{0:d}. {1}' 370 formatStr = '{0:d}. {1}'
371 act = self.recentFilesMenu.addAction(\ 371 act = self.recentFilesMenu.addAction(
372 formatStr.format(idx, 372 formatStr.format(idx,
373 Utilities.compactPath(rf, self.maxMenuFilePathLen))) 373 Utilities.compactPath(rf, self.maxMenuFilePathLen)))
374 act.setData(rf) 374 act.setData(rf)
375 idx += 1 375 idx += 1
376 376

eric ide

mercurial