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, #stage1

Instance Method Details

#contentsObject



838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
# File 'src/lib/bootloader/grub2_widgets.rb', line 838

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

#labelObject



832
833
834
835
836
# File 'src/lib/bootloader/grub2_widgets.rb', line 832

def label
  textdomain "bootloader"

  _("Boot Co&de Options")
end