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
870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 870 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
864 865 866 867 868 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 864 def label textdomain "bootloader" _("Boot&loader Options") end |