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

#contents ⇒ Object



783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
# File 'src/lib/bootloader/grub2_widgets.rb', line 783

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

#label ⇒ Object



777
778
779
780
781
# File 'src/lib/bootloader/grub2_widgets.rb', line 777

def label
  textdomain "bootloader"

  _("Boot Co&de Options")
end