def __encoding_options(self, event):
     Value = self.encodingGroup.GetStringSelection()
     try:
         self.encodingSelect.Destroy()
     except AttributeError:
         pass
     choicesList = utils.get_encoding_choices(Value)
     self.__make_encoding_select(choicesList)
     self.encodingSelect.SetSelection(0)
     self.create_operation(event)
Exemple #2
0
 def __encoding_options(self, event):
     Value = self.encodingGroup.GetStringSelection()
     try:
         self.encodingSelect.Destroy()
     except AttributeError:
         pass
     choicesList = utils.get_encoding_choices(Value)
     self.__make_encoding_select(choicesList)
     self.encodingSelect.SetSelection(0)
     self.create_operation(event)
Exemple #3
0
 def _set_encoding_options(self, event):
     Value = self.encodingGroup.GetStringSelection()
     enable = True
     if self.encodingSelect:
         self.encodingSelect.Destroy()
     if Value == _(u"Use System Default"):
         enable = False
     choicesList = utils.get_encoding_choices(Value)
     self.staticText2.Enable(True)
     self._make_encoding_select(choicesList)
     self.encodingSelect.SetSelection(0)
     if not enable:
         self.staticText2.Enable(False)
         self.encodingSelect.Enable(False)
 def _set_encoding_options(self, event):
     Value = self.encodingGroup.GetStringSelection()
     enable = True
     if self.encodingSelect:
         self.encodingSelect.Destroy()
     if Value == _(u"Use System Default"):
         enable = False
     choicesList = utils.get_encoding_choices(Value)
     self.staticText2.Enable(True)
     self._make_encoding_select(choicesList)
     self.encodingSelect.SetSelection(0)
     if not enable:
         self.staticText2.Enable(False)
         self.encodingSelect.Enable(False)