RefactoringRope/ConfigurationPage/AutoCompletionRopePage.py

changeset 335
9438c2ed7732
parent 326
67bcde9c65b9
child 346
877cac2e8d94
equal deleted inserted replaced
334:fe30dc24c9e5 335:9438c2ed7732
52 def polishPage(self): 52 def polishPage(self):
53 """ 53 """
54 Public slot to perform some polishing actions. 54 Public slot to perform some polishing actions.
55 """ 55 """
56 names = self.__plugin.getCodeAssistServer().connectionNames() 56 names = self.__plugin.getCodeAssistServer().connectionNames()
57 self.python2Button.setEnabled("Python2" in names)
58 self.python3Button.setEnabled("Python3" in names) 57 self.python3Button.setEnabled("Python3" in names)
59
60 @pyqtSlot()
61 def on_python2Button_clicked(self):
62 """
63 Private slot to edit the rope configuration for Python 2.
64 """
65 self.__plugin.getCodeAssistServer().editConfig("Python2")
66 58
67 @pyqtSlot() 59 @pyqtSlot()
68 def on_python3Button_clicked(self): 60 def on_python3Button_clicked(self):
69 """ 61 """
70 Private slot to edit the rope configuration for Python 3. 62 Private slot to edit the rope configuration for Python 3.

eric ide

mercurial