Class: Bootloader::Grub2Widget::KernelTab

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

Overview

represents Tab with kernel related configuration

Instance Method Summary collapse

Instance Method Details

#contentsObject



979
980
981
982
983
984
985
986
987
988
# File 'src/lib/bootloader/grub2_widgets.rb', line 979

def contents
  console_widget = Yast::Arch.s390 ? CWM::Empty.new("console") : ConsoleWidget.new
  VBox(
    VSpacing(1),
    MarginBox(1, 0.5, KernelAppendWidget.new),
    MarginBox(1, 0.5, Left(CpuMitigationsWidget.new)),
    MarginBox(1, 0.5, console_widget),
    VStretch()
  )
end

#labelObject



973
974
975
976
977
# File 'src/lib/bootloader/grub2_widgets.rb', line 973

def label
  textdomain "bootloader"

  _("&Kernel Parameters")
end