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



1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
# File 'src/lib/bootloader/grub2_widgets.rb', line 1001

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

#labelObject



995
996
997
998
999
# File 'src/lib/bootloader/grub2_widgets.rb', line 995

def label
  textdomain "bootloader"

  _("Boot Co&de Options")
end