Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py

changeset 3349
2a034a7f1f54
parent 3190
a9a94491c4fd
child 3471
31a6d4300906
child 3484
645c12de6b0c
--- a/Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py	Sun Mar 09 12:16:00 2014 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/ProjectBrowserHelper.py	Sun Mar 09 17:06:40 2014 +0100
@@ -253,7 +253,7 @@
         self.vcsMenuActions.append(act)
         act = menu.addAction(
             UI.PixmapCache.getIcon("vcsLog.png"),
-            self.tr('Show log browser'), self.__SVNLogBrowser)
+            self.tr('Show log browser'), self._VCSLogBrowser)
         self.vcsMenuActions.append(act)
         menu.addSeparator()
         act = menu.addAction(
@@ -566,7 +566,7 @@
         self.vcsDirMenuActions.append(act)
         act = menu.addAction(
             UI.PixmapCache.getIcon("vcsLog.png"),
-            self.tr('Show log browser'), self.__SVNLogBrowser)
+            self.tr('Show log browser'), self._VCSLogBrowser)
         self.vcsDirMenuActions.append(act)
         menu.addSeparator()
         act = menu.addAction(
@@ -867,20 +867,6 @@
         fn = itm.fileName()
         self.vcs.svnSbsDiff(fn, extended=True)
     
-    def __SVNLogBrowser(self):
-        """
-        Private slot called by the context menu to show the log browser for
-        a file.
-        """
-        itm = self.browser.currentItem()
-        try:
-            fn = itm.fileName()
-            isFile = True
-        except AttributeError:
-            fn = itm.dirName()
-            isFile = False
-        self.vcs.svnLogBrowser(fn, isFile=isFile)
-        
     def __SVNBlame(self):
         """
         Private slot called by the context menu to show the blame of a file.

eric ide

mercurial