def save(self):
     """"""
     conf.set_addon_option(OPTION_UNRAR_REMOVE_FILES, self.remove_files_box.isChecked(), is_bool=True)
     #
     txt = self.text_view.toPlainText()
     passwords_handler.replace(txt.splitlines())
     passwords_handler.save()
Exemple #2
0
 def save(self):
     """"""
     conf.set_addon_option(OPTION_UNRAR_REMOVE_FILES,
                           self.remove_files_box.isChecked(),
                           is_bool=True)
     #
     txt = self.text_view.toPlainText()
     passwords_handler.replace(txt.splitlines())
     passwords_handler.save()
 def save(self):
     """"""
     txt = self.text_view.toPlainText()
     passwords_handler.replace(txt.splitlines())
     passwords_handler.save()
 def save(self):
     """"""
     buffer = self.text_field.get_buffer()
     bounds = buffer.get_bounds()
     txt = buffer.get_text(bounds[0], bounds[1])
     passwords_handler.replace(txt.splitlines())
Exemple #5
0
 def save(self):
     """"""
     buffer = self.text_field.get_buffer()
     bounds = buffer.get_bounds()
     txt = buffer.get_text(bounds[0], bounds[1])
     passwords_handler.replace(txt.splitlines())