def changeVNCPasswdWindow(self): """ Change the password to a sane parameter. We ask user to input a password that (len(password) > 6 and len(password) <= 8) or password == ''. """ message = _("VNC password must be six to eight characters long.\n" "Please enter a new one, or leave blank for no password.") app = App("VNC PASSWORD") spoke = VNCPassSpoke(app, self.anaconda.ksdata, None, None, None, message) app.schedule_screen(spoke) app.run() self.password = self.anaconda.ksdata.vnc.password
def changeVNCPasswdWindow(self): """ Change the password to a sane parameter. We ask user to input a password that (len(password) > 6 and len(password) <= 8) or password == ''. """ message = _("VNC password must be six to eight characters long.\n" "Please enter a new one, or leave blank for no password.") App.initialize() loop = App.get_event_loop() loop.set_quit_callback(tui_quit_callback) spoke = VNCPassSpoke(self.anaconda.ksdata, None, None, message) ScreenHandler.schedule_screen(spoke) App.run() self.password = self.anaconda.ksdata.vnc.password
def changeVNCPasswdWindow(self): """ Change the password to a sane parameter. We ask user to input a password that len(password) > 6 or password == ''. """ message = _( "VNC password provided was not at least 6 characters long.\n" "Please enter a new one. Leave blank for no password.") app = App("VNC PASSWORD") spoke = VNCPassSpoke(app, self.anaconda.ksdata, None, None, None, message) app.schedule_screen(spoke) app.run() self.password = self.anaconda.ksdata.vnc.password