Commits

Yuya Nishihara committed 53ae197

move sig

  • Participants
  • Parent commits be29c57

Comments (0)

Files changed (2)

File movesig.diff

+# HG changeset patch
+# Date 1367401793 -32400
+# Parent 6ba5c2069753b75e391203b256ed2d9b3ca43cf0
+repowidget: move several signals to list which shouldn't bother RepoWidget
+
+They're unrelated to RepoWidget.
+
+diff --git a/tortoisehg/hgqt/repowidget.py b/tortoisehg/hgqt/repowidget.py
+--- a/tortoisehg/hgqt/repowidget.py
++++ b/tortoisehg/hgqt/repowidget.py
+@@ -39,7 +39,6 @@ from PyQt4.QtGui import *
+ class RepoWidget(QWidget):
+ 
+     showMessageSignal = pyqtSignal(QString)
+-    closeSelfSignal = pyqtSignal(QWidget)
+     toolbarVisibilityChanged = pyqtSignal()
+ 
+     output = pyqtSignal(QString, QString)
+@@ -51,8 +50,11 @@ class RepoWidget(QWidget):
+     # 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)
+ 
+@@ -61,9 +63,6 @@ class RepoWidget(QWidget):
+ 
+     showIcon = pyqtSignal(QIcon)
+ 
+-    shortNameChanged = pyqtSignal(QString, QString)
+-    baseNodeChanged = pyqtSignal(QString, object)
+-
+     repoLinkClicked = pyqtSignal(unicode)
+     """Emitted when clicked a link to open repository"""
+ 
 uimtime.diff
 uimtime-clean.diff
 update-urlcombo.diff
+movesig.diff
 uimtime-trace.diff
 lazyrevcolor.diff
 clonclose.diff