Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py

branch
5_4_x
changeset 3474
ca4b926f1bbb
parent 3436
5f64b3d02ebf
equal deleted inserted replaced
3470:741ab2eecaf9 3474:ca4b926f1bbb
270 )) 270 ))
271 self.hgLogBrowserAct.triggered[()].connect(self.__hgLogBrowser) 271 self.hgLogBrowserAct.triggered[()].connect(self.__hgLogBrowser)
272 self.actions.append(self.hgLogBrowserAct) 272 self.actions.append(self.hgLogBrowserAct)
273 273
274 self.vcsDiffAct = E5Action( 274 self.vcsDiffAct = E5Action(
275 self.trUtf8('Show difference'), 275 self.trUtf8('Show differences'),
276 UI.PixmapCache.getIcon("vcsDiff.png"), 276 UI.PixmapCache.getIcon("vcsDiff.png"),
277 self.trUtf8('Show &difference'), 277 self.trUtf8('Show &difference'),
278 0, 0, self, 'mercurial_diff') 278 0, 0, self, 'mercurial_diff')
279 self.vcsDiffAct.setStatusTip(self.trUtf8( 279 self.vcsDiffAct.setStatusTip(self.trUtf8(
280 'Show the difference of the local project to the repository' 280 'Show the difference of the local project to the repository'
281 )) 281 ))
282 self.vcsDiffAct.setWhatsThis(self.trUtf8( 282 self.vcsDiffAct.setWhatsThis(self.trUtf8(
283 """<b>Show difference</b>""" 283 """<b>Show differences</b>"""
284 """<p>This shows the difference of the local project to the""" 284 """<p>This shows differences of the local project to the"""
285 """ repository.</p>""" 285 """ repository.</p>"""
286 )) 286 ))
287 self.vcsDiffAct.triggered[()].connect(self._vcsDiff) 287 self.vcsDiffAct.triggered[()].connect(self._vcsDiff)
288 self.actions.append(self.vcsDiffAct) 288 self.actions.append(self.vcsDiffAct)
289 289
290 self.hgExtDiffAct = E5Action( 290 self.hgExtDiffAct = E5Action(
291 self.trUtf8('Show difference (extended)'), 291 self.trUtf8('Show differences (extended)'),
292 UI.PixmapCache.getIcon("vcsDiff.png"), 292 UI.PixmapCache.getIcon("vcsDiff.png"),
293 self.trUtf8('Show difference (extended)'), 293 self.trUtf8('Show differences (extended)'),
294 0, 0, self, 'mercurial_extendeddiff') 294 0, 0, self, 'mercurial_extendeddiff')
295 self.hgExtDiffAct.setStatusTip(self.trUtf8( 295 self.hgExtDiffAct.setStatusTip(self.trUtf8(
296 'Show the difference of revisions of the project to the repository' 296 'Show the difference of revisions of the project to the repository'
297 )) 297 ))
298 self.hgExtDiffAct.setWhatsThis(self.trUtf8( 298 self.hgExtDiffAct.setWhatsThis(self.trUtf8(
299 """<b>Show difference (extended)</b>""" 299 """<b>Show differences (extended)</b>"""
300 """<p>This shows the difference of selectable revisions of the""" 300 """<p>This shows differences of selectable revisions of the"""
301 """ project.</p>""" 301 """ project.</p>"""
302 )) 302 ))
303 self.hgExtDiffAct.triggered[()].connect(self.__hgExtendedDiff) 303 self.hgExtDiffAct.triggered[()].connect(self.__hgExtendedDiff)
304 self.actions.append(self.hgExtDiffAct) 304 self.actions.append(self.hgExtDiffAct)
305 305

eric ide

mercurial