Class: Bootloader::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

- (Object) contents



723
724
725
726
727
728
729
730
731
# File 'src/lib/bootloader/grub2_widgets.rb', line 723

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, console_widget),
    VStretch()
  )
end

- (Object) label



717
718
719
720
721
# File 'src/lib/bootloader/grub2_widgets.rb', line 717

def label
  textdomain "bootloader"

  _("kernel parameters")
end