Class: Bootloader::SystemdBootWidget::BootCodeTab

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

Overview

Represent tab with options related to stage1 location and bootloader type

Instance Method Summary collapse

Methods included from SystemdBootHelper

#systemdboot

Instance Method Details

#contentsObject



49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 49

def contents
  VBox(
    VSpacing(1),
    HBox(
      HSpacing(1),
      Left(LoaderTypeWidget.new)
    ),
    VSpacing(1),
    *widgets,
    VSpacing(1),
    pmbr_widget,
    VStretch()
  )
end

#labelObject



43
44
45
46
47
# File 'src/lib/bootloader/systemdboot_widgets.rb', line 43

def label
  textdomain "bootloader"

  _("Boot Co&de Options")
end