示例#1
0
    def refresh(self, args=None):
        StandaloneTUISpoke.refresh(self, args)

        self._window += [
            TextWidget(self._message % {'features': self._unsupported}), ""
        ]

        return True
示例#2
0
    def __init__(self, *args, **kwargs):
        StandaloneTUISpoke.__init__(self, *args, **kwargs)

        self._message = _("This hardware (or a combination thereof) is not "
                          "supported by Red Hat.  For more information on "
                          "supported hardware, please refer to "
                          "http://www.redhat.com/hardware.")
        # Does anything need to be displayed?
        self._unsupported = productName.startswith("Red Hat ") and \
                            is_unsupported_hw() and \
                            not self.data.unsupportedhardware.unsupported_hardware
示例#3
0
    def __init__(self, *args, **kwargs):
        StandaloneTUISpoke.__init__(self, *args, **kwargs)

        self._message = _("This hardware (or a combination thereof) is not "
                          "supported by Red Hat.  For more information on "
                          "supported hardware, please refer to "
                          "http://www.redhat.com/hardware.")
        # Does anything need to be displayed?
        self._unsupported = productName.startswith("Red Hat ") and \
                            is_unsupported_hw() and \
                            not self.data.unsupportedhardware.unsupported_hardware
    def __init__(self, *args, **kwargs):
        StandaloneTUISpoke.__init__(self, *args, **kwargs)

        self._message = _("This hardware lacks features required by Qubes OS. "
                          "Missing features: %(features)s. "
                          "For more information on supported hardware, "
                          "please refer to https://www.qubes-os.org/doc/system-requirements/")
        # Does anything need to be displayed?
        # pylint: disable=no-member
        #   self._unsupported = not self.data.unsupportedhardware.unsupported_hardware \
        #                       and is_unsupported_hw()
        self._unsupported = is_unsupported_hw()
    def __init__(self, *args, **kwargs):
        StandaloneTUISpoke.__init__(self, *args, **kwargs)

        self._message = _("This hardware lack features required by Qubes OS. "
                          "Missing features: %(features)s. "
                          "For more information on supported hardware, "
                          "please refer to https://www.qubes-os.org/system-requirements/")
        # Does anything need to be displayed?
        # pylint: disable=no-member
        #   self._unsupported = not self.data.unsupportedhardware.unsupported_hardware \
        #                       and is_unsupported_hw()
        self._unsupported = is_unsupported_hw()
 def __init__(self, ksdata, storage, payload, instclass):
     self.initialize_start()
     StandaloneTUISpoke.__init__(self, ksdata, storage, payload, instclass)
     self.title = N_("Progress")
     self._stepped = False
     self.initialize_done()
示例#7
0
 def __init__(self, app, ksdata, storage, payload, instclass):
     StandaloneTUISpoke.__init__(self, app, ksdata, storage, payload, instclass)
     self._stepped = False
示例#8
0
 def __init__(self, app, ksdata, storage, payload, instclass):
     StandaloneTUISpoke.__init__(self, app, ksdata, storage, payload,
                                 instclass)
     self._stepped = False
示例#9
0
    def refresh(self, args=None):
        StandaloneTUISpoke.refresh(self, args)

        self._window += [TextWidget(self._message), ""]

        return True
示例#10
0
    def refresh(self, args=None):
        StandaloneTUISpoke.refresh(self, args)

        self._window += [TextWidget(self._message), ""]

        return True
示例#11
0
    def refresh(self, args=None):
        StandaloneTUISpoke.refresh(self, args)

        self.window.add_with_separator(TextWidget(self._message))
示例#12
0
 def __init__(self, app, ksdata, storage, payload, instclass):
     self.initialize_start()
     StandaloneTUISpoke.__init__(self, app, ksdata, storage, payload, instclass)
     self._stepped = False
     self.initialize_done()
示例#13
0
    def refresh(self, args=None):
        StandaloneTUISpoke.refresh(self, args)

        self.window.add_with_separator(TextWidget(self._message))
    def refresh(self, args=None):
        StandaloneTUISpoke.refresh(self, args)

        self._window += [TextWidget(self._message % {'features': self._unsupported}), ""]

        return True