--- a/RefactoringRope/ExtractDialog.py Sun Jan 30 19:00:34 2011 +0100 +++ b/RefactoringRope/ExtractDialog.py Sun Jan 30 19:19:40 2011 +0100 @@ -13,6 +13,7 @@ from Ui_ExtractDialog import Ui_ExtractDialog from RefactoringDialogBase import RefactoringDialogBase + class ExtractDialog(RefactoringDialogBase, Ui_ExtractDialog): """ Class implementing the Extract dialog. @@ -24,8 +25,8 @@ @param refactoring reference to the main refactoring object (Refactoring) @param title title of the dialog (string) - @param extractor reference to the extractor object - (rope.refactor.extract.ExtractMethod or + @param extractor reference to the extractor object + (rope.refactor.extract.ExtractMethod or rope.refactor.extract.ExtractVariable) @param parent reference to the parent widget (QWidget) """ @@ -70,8 +71,8 @@ @return reference to the Changes object (rope.base.change.ChangeSet) """ try: - changes = self.__extractor.get_changes(self.newNameEdit.text(), - similar=self.similarCheckBox.isChecked(), + changes = self.__extractor.get_changes(self.newNameEdit.text(), + similar=self.similarCheckBox.isChecked(), global_=self.globalCheckBox.isChecked()) return changes except Exception as err: