27 |
27 |
28 self.stringEncodingComboBox.addItems(sorted(supportedCodecs)) |
28 self.stringEncodingComboBox.addItems(sorted(supportedCodecs)) |
29 self.ioEncodingComboBox.addItems(sorted(supportedCodecs)) |
29 self.ioEncodingComboBox.addItems(sorted(supportedCodecs)) |
30 |
30 |
31 # set initial values |
31 # set initial values |
32 index = self.stringEncodingComboBox.findText(\ |
32 index = self.stringEncodingComboBox.findText( |
33 Preferences.getSystem("StringEncoding")) |
33 Preferences.getSystem("StringEncoding")) |
34 self.stringEncodingComboBox.setCurrentIndex(index) |
34 self.stringEncodingComboBox.setCurrentIndex(index) |
35 index = self.ioEncodingComboBox.findText(\ |
35 index = self.ioEncodingComboBox.findText( |
36 Preferences.getSystem("IOEncoding")) |
36 Preferences.getSystem("IOEncoding")) |
37 self.ioEncodingComboBox.setCurrentIndex(index) |
37 self.ioEncodingComboBox.setCurrentIndex(index) |
38 |
38 |
39 # these are the same as in the debugger pages |
39 # these are the same as in the debugger pages |
40 self.py2ExtensionsEdit.setText( |
40 self.py2ExtensionsEdit.setText( |