Steve Borho avatar Steve Borho committed 50e813b

revdetails: rename _displayFile to onFileRevSelected

Comments (0)

Files changed (1)

tortoisehg/hgqt/revdetails.py

 
         revisiondetails_layout.addWidget(self.filelist_splitter)
 
-        self.filelist.fileRevSelected.connect(self._displayFile)
+        self.filelist.fileRevSelected.connect(self.onFileRevSelected)
         self.filelist.clearDisplay.connect(self.fileview.clearDisplay)
 
     def createActions(self):
         self.filelist.setModel(self.filelistmodel)
 
     @pyqtSlot(object, object, object)
-    def _displayFile(self, file, rev, status):
+    def onFileRevSelected(self, file, rev, status):
         self.fileview.displayFile(file, rev, status)
 
     def revision_selected(self, rev):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.