Logo Search packages:      
Sourcecode: sbackup version File versions  Download package

def simple-restore-gnome::SRestoreGTK::enable_custom (   self,
  args 
)

Enables/Disables input box for the custom backup dir
Reloads default dir on disabling

Definition at line 267 of file simple-restore-gnome.py.

00267                                     :
            """
            Enables/Disables input box for the custom backup dir
            Reloads default dir on disabling
            """
            if self.widgets.get_widget("radiobutton2").get_active():
                  self.widgets.get_widget("entry1").set_sensitive(True)
                  self.widgets.get_widget("customFolderButton").set_sensitive(True)
                  self.widgets.get_widget("button7").set_sensitive(True)
                  self.widgets.get_widget("labelDefaultSource").set_sensitive(False)
            else:
                  self.widgets.get_widget("entry1").set_sensitive(False)
                  self.widgets.get_widget("customFolderButton").set_sensitive(False)
                  self.widgets.get_widget("button7").set_sensitive(False)
                  self.widgets.get_widget("labelDefaultSource").set_sensitive(True)
                  self.load_tree(self.default_target)

      def on_backup_changed( self, combox ):


Generated by  Doxygen 1.6.0   Back to index