Class: Bootloader::Grub2Widget::BootCodeTab

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

Overview

Represent tab with options related to stage1 location and bootloader type

Instance Method Summary collapse

Methods included from Grub2Helper

#grub2, #grub_default, #password, #sections, #stage1

Instance Method Details

#contentsObject



1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
# File 'src/lib/bootloader/grub2_widgets.rb', line 1084

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

#labelObject



1078
1079
1080
1081
1082
# File 'src/lib/bootloader/grub2_widgets.rb', line 1078

def label
  textdomain "bootloader"

  _("Boot Co&de Options")
end