Class: Bootloader::Grub2Widget::KernelTab

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

Overview

represents Tab with kernel related configuration

Instance Method Summary collapse

Methods included from Grub2Helper

#grub2, #grub_default, #password, #stage1

Instance Method Details

#contents ⇒ Object



752
753
754
755
756
757
758
759
760
# File 'src/lib/bootloader/grub2_widgets.rb', line 752

def contents
  VBox(
    VSpacing(1),
    MarginBox(1, 0.5, KernelAppendWidget.new),
    MarginBox(1, 0.5, Left(CpuMitigationsWidget.new)),
    MarginBox(1, 0.5, console_widget),
    VStretch()
  )
end

#label ⇒ Object



746
747
748
749
750
# File 'src/lib/bootloader/grub2_widgets.rb', line 746

def label
  textdomain "bootloader"

  _("&Kernel Parameters")
end