예제 #1
0
    def prompt(self, args = None):
        """Overriden prompt as password typing is special."""
        EditTUIDialog.prompt(self, EditTUISpokeEntry(_("Password"), "", EditTUIDialog.PASSWORD, True))
        if self.value == None:
            return

        self._password = self.value
        self.apply()

        self.close()
예제 #2
0
파일: password.py 프로젝트: mairin/anaconda
    def prompt(self, args = None):
        """Overriden prompt as password typing is special."""
        EditTUIDialog.prompt(self, EditTUISpokeEntry(_("Password"), "", EditTUIDialog.PASSWORD, True))
        if self.value == None:
            return

        self._password = self.value
        self.apply()

        self.close()
예제 #3
0
    def refresh(self, args=None):
        EditTUIDialog.refresh(self, args)

        self._window += [
            TextWidget(
                _("Please select new root password. You will have to type it twice."
                  )), ""
        ]

        return True
예제 #4
0
 def refresh(self, args=None):
     EditTUIDialog.refresh(self, args)
     return True
예제 #5
0
 def __init__(self, app, data, storage, payload, instclass, time_spoke):
     EditTUIDialog.__init__(self, app, data, storage, payload, instclass)
     self._time_spoke = time_spoke
     self._new_ntp_server = None
예제 #6
0
파일: password.py 프로젝트: mairin/anaconda
    def refresh(self, args = None):
        EditTUIDialog.refresh(self, args)

        self._window += [TextWidget(_("Please select new root password. You will have to type it twice.")), ""]

        return True
예제 #7
0
파일: password.py 프로젝트: mairin/anaconda
 def __init__(self, app, data, storage, payload, instclass):
     EditTUIDialog.__init__(self, app, data, storage, payload, instclass)
     self._password = None
예제 #8
0
 def __init__(self, app, data, storage, payload, instclass):
     EditTUIDialog.__init__(self, app, data, storage, payload, instclass)
     self._password = None
 def refresh(self, args=None):
     EditTUIDialog.refresh(self, args)
     return True
 def __init__(self, app, data, storage, payload, instclass, time_spoke):
     EditTUIDialog.__init__(self, app, data, storage, payload, instclass)
     self._time_spoke = time_spoke
     self._new_ntp_server = None
예제 #11
0
 def __init__(self, data, storage, payload, instclass, time_spoke):
     EditTUIDialog.__init__(self, data, storage, payload, instclass)
     self.title = N_("Add NTP server address")
     self._time_spoke = time_spoke
     self._new_ntp_server = None
예제 #12
0
    def refresh(self, args=None):
        EditTUIDialog.refresh(self, args)

        msg = _("Please select new root password. You will have to type it twice.")
        self.window.add_with_separator(TextWidget(msg))
예제 #13
0
 def __init__(self, data, storage, payload, instclass):
     EditTUIDialog.__init__(self, data, storage, payload, instclass, "root")
     self.title = N_("Root password")
     self.initialize_start()
     self._password = None
     self.initialize_done()