31 |
31 |
32 self.__plugin = plugin |
32 self.__plugin = plugin |
33 |
33 |
34 # set initial values |
34 # set initial values |
35 self.logSpinBox.setValue(self.__plugin.getPreferences("LogLimit")) |
35 self.logSpinBox.setValue(self.__plugin.getPreferences("LogLimit")) |
36 self.commitSpinBox.setValue( |
|
37 self.__plugin.getPreferences("CommitMessages")) |
|
38 |
36 |
39 def save(self): |
37 def save(self): |
40 """ |
38 """ |
41 Public slot to save the Subversion configuration. |
39 Public slot to save the Subversion configuration. |
42 """ |
40 """ |
43 self.__plugin.setPreferences("LogLimit", self.logSpinBox.value()) |
41 self.__plugin.setPreferences("LogLimit", self.logSpinBox.value()) |
44 self.__plugin.setPreferences( |
|
45 "CommitMessages", self.commitSpinBox.value()) |
|
46 |
42 |
47 @pyqtSlot() |
43 @pyqtSlot() |
48 def on_configButton_clicked(self): |
44 def on_configButton_clicked(self): |
49 """ |
45 """ |
50 Private slot to edit the Subversion config file. |
46 Private slot to edit the Subversion config file. |