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

branch
eric7
changeset 9973
d537cba05d38
parent 9653
e67609152c5e
child 10069
435cc5875135
equal deleted inserted replaced
9972:68ac01294544 9973:d537cba05d38
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