--- a/Plugins/VcsPlugins/vcsMercurial/hg.py Tue May 31 10:31:06 2011 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/hg.py Tue May 31 11:25:52 2011 +0200 @@ -64,8 +64,11 @@ Class implementing the version control systems interface to Mercurial. @signal committed() emitted after the commit action has completed + @signal activeExtensionsChanged() emitted when the list of active extensions + has changed """ committed = pyqtSignal() + activeExtensionsChanged = pyqtSignal() def __init__(self, plugin, parent=None, name=None): """ @@ -2253,6 +2256,7 @@ """ Private method to get the active extensions from Mercurial. """ + activeExtensions = sorted(self.__activeExtensions) self.__activeExtensions = [] process = QProcess() @@ -2273,6 +2277,9 @@ if self.versionStr >= "1.8": if "bookmarks" not in self.__activeExtensions: self.__activeExtensions.append("bookmarks") + + if activeExtensions != sorted(self.__activeExtensions): + self.activeExtensionsChanged.emit() def isExtensionActive(self, extensionName): """