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



1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
# File 'src/lib/bootloader/grub2_widgets.rb', line 1062

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



1056
1057
1058
1059
1060
# File 'src/lib/bootloader/grub2_widgets.rb', line 1056

def label
  textdomain "bootloader"

  _("&Kernel Parameters")
end