Class: Bootloader::SystemdBootWidget::BootloaderTab

Inherits:
CWM::Tab
  • Object
show all
Defined in:
src/lib/bootloader/systemdboot_widgets.rb

Overview

Represents bootloader specific options like its timeout, default section or password protection

Instance Method Summary collapse

Instance Method Details

#contentsObject



107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 107

def contents
  VBox(
    VSpacing(2),
    HBox(
      HSpacing(1),
      ::Bootloader::BlsWidget::TimeoutWidget.new,
      HSpacing(1)
    ),
    VSpacing(1),
    MarginBox(1, 1, MinWidth(1, DefaultSectionWidget.new)),
    VStretch()
  )
end

#labelObject



101
102
103
104
105
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 101

def label
  textdomain "bootloader"

  _("Boot&loader Options")
end