def on_button_revert_clicked(self):
   """Restore the source list from the startup of the dialog"""
   SoftwareProperties.revert(self)
   self.set_modified_sourceslist()
   self.show_auto_update_level()
   self.userinterface.buttonBox.button(QDialogButtonBox.Reset).setEnabled(False)
   self.modified_sourceslist = False
Ejemplo n.º 2
0
 def on_button_revert_clicked(self, button):
     """Restore the source list from the startup of the dialog"""
     SoftwareProperties.revert(self)
     self.set_modified_sourceslist()
     self.show_auto_update_level()
     self.button_revert.set_sensitive(False)
     self.modified_sourceslist = False
 def on_button_revert_clicked(self, button):
   """Restore the source list from the startup of the dialog"""
   SoftwareProperties.revert(self)
   self.set_modified_sourceslist()
   self.show_auto_update_level()
   self.button_revert.set_sensitive(False)
   self.modified_sourceslist = False
 def on_button_revert_clicked(self):
     """Restore the source list from the startup of the dialog"""
     SoftwareProperties.revert(self)
     self.set_modified_sourceslist()
     self.show_auto_update_level()
     self.userinterface.buttonBox.button(
         QDialogButtonBox.Reset).setEnabled(False)
     self.modified_sourceslist = False