Commits

Yuya Nishihara committed b2abab4

repowidget: group several signals which should be deprecated later

They are not related to RepoWidget, but to repo itself.

Comments (0)

Files changed (1)

tortoisehg/hgqt/repowidget.py

 class RepoWidget(QWidget):
 
     showMessageSignal = pyqtSignal(QString)
-    closeSelfSignal = pyqtSignal(QWidget)
     toolbarVisibilityChanged = pyqtSignal()
 
     output = pyqtSignal(QString, QString)
     # The following signals should be exchanged directly between workbench and
     # thgrepo. But it isn't possible because workbench cannot filter out known
     # repo from the result of thgrepo.repository().
+    closeSelfSignal = pyqtSignal(QWidget)
     repoChanged = pyqtSignal(QString)
     repoConfigChanged = pyqtSignal(QString)
+    shortNameChanged = pyqtSignal(QString, QString)
+    baseNodeChanged = pyqtSignal(QString, object)
 
     revisionSelected = pyqtSignal(object)
 
 
     showIcon = pyqtSignal(QIcon)
 
-    shortNameChanged = pyqtSignal(QString, QString)
-    baseNodeChanged = pyqtSignal(QString, object)
-
     repoLinkClicked = pyqtSignal(unicode)
     """Emitted when clicked a link to open repository"""