Пример #1
0
 def update_config(self):
     self.server_entry.set_text(self.config["ip"])
     self.user_entry.set_text(self.config["username"])
     self.password_entry.set_text(self.config["password"])
     self.port_spinbutton.set_value(float(self.config["port"]))
     self.mount_point_entry.set_text(self.config["mount"])
     OutputUI.update_config(self)
Пример #2
0
 def update_config(self):
     self.button.set_filename(self.config["location"])
     OutputUI.update_config(self)
Пример #3
0
 def update_config(self):
     self.button.set_filename(self.config["location"])
     OutputUI.update_config(self)