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



784
785
786
787
788
789
790
791
792
# File 'src/lib/bootloader/grub2_widgets.rb', line 784

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



778
779
780
781
782
# File 'src/lib/bootloader/grub2_widgets.rb', line 778

def label
  textdomain "bootloader"

  _("&Kernel Parameters")
end