1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 6adc2f2

workbench: rename _updateUrlComboToolTip for later change

  • Participants
  • Parent commits 22371b2
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/workbench.py

View file
  • Ignore whitespace
                   enabled='repoopen', toolbar='sync')
         self.urlCombo = QComboBox(self)
         self.urlCombo.setSizeAdjustPolicy(QComboBox.AdjustToContents)
-        self.urlCombo.currentIndexChanged.connect(self._updateUrlComboToolTip)
+        self.urlCombo.currentIndexChanged.connect(self._updateSyncUrlToolTip)
         self.synctbar.addWidget(self.urlCombo)
         self.synctbar.actionTriggered.connect(self._runSyncAction)
 
             self.urlCombo.addItem(itemtext, itemdata)
             self.urlCombo.setItemData(n, tooltip, Qt.ToolTipRole)
         self.urlCombo.blockSignals(False)
-        self._updateUrlComboToolTip(self.urlCombo.currentIndex())
+        self._updateSyncUrlToolTip(self.urlCombo.currentIndex())
 
     #@pyqtSlot()
     def _setupUrlComboIfCurrent(self):
         return self.urlCombo.itemData(urlindex).toPyObject()[opindex]
 
     @pyqtSlot(int)
-    def _updateUrlComboToolTip(self, index):
+    def _updateSyncUrlToolTip(self, index):
         if not self.urlCombo.count():
             tooltip = _('There are no configured sync paths.\n'
                         'Open the Synchronize tab to configure them.')