Class: Bootloader::Grub2Widget::BootloaderTab
- Inherits:
-
CWM::Tab
- Object
- CWM::Tab
- Bootloader::Grub2Widget::BootloaderTab
- Includes:
- Grub2Helper
- Defined in:
- src/lib/bootloader/grub2_widgets.rb
Overview
Represents bootloader specific options like its timeout, default section or password protection
Instance Method Summary collapse
Methods included from Grub2Helper
#grub2, #grub_default, #password, #stage1
Instance Method Details
#contents ⇒ Object
930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 930 def contents = if Systeminfo.bls_timeout_supported?(grub2.name) ::Bootloader::BlsWidget::TimeoutWidget.new else TimeoutWidget.new() end VBox( VSpacing(2), HBox( HSpacing(1), , HSpacing(1), VBox( , VSpacing(1), Left() ), HSpacing(1) ), VSpacing(1), MarginBox(1, 1, MinWidth(1, DefaultSectionWidget.new)), MarginBox(1, 1, ), VStretch() ) end |
#label ⇒ Object
924 925 926 927 928 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 924 def label textdomain "bootloader" _("Boot&loader Options") end |