src/eric7/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py

branch
eric7-maintenance
changeset 9974
c2ae0dd2021a
parent 9653
e67609152c5e
child 10069
435cc5875135
equal deleted inserted replaced
9968:115b0106012e 9974:c2ae0dd2021a
541 """ 541 """
542 Protected method used to add the VCS menu to all project browsers. 542 Protected method used to add the VCS menu to all project browsers.
543 543
544 @param mainMenu reference to the menu to be amended 544 @param mainMenu reference to the menu to be amended
545 """ 545 """
546 if mainMenu is None:
547 return
548
546 menu = QMenu(self.tr("Version Control")) 549 menu = QMenu(self.tr("Version Control"))
547 550
548 act = menu.addAction( 551 act = menu.addAction(
549 EricPixmapCache.getIcon( 552 EricPixmapCache.getIcon(
550 os.path.join("VcsPlugins", "vcsPySvn", "icons", "pysvn.svg") 553 os.path.join("VcsPlugins", "vcsPySvn", "icons", "pysvn.svg")

eric ide

mercurial