Class: Bootloader::Grub2Widget::DeviceMapWidget
- Inherits:
-
CWM::PushButton
- Object
- CWM::PushButton
- Bootloader::Grub2Widget::DeviceMapWidget
show all
- Includes:
- Grub2Helper
- Defined in:
- src/lib/bootloader/grub2_widgets.rb
Overview
Represents button that open Device Map edit dialog
Instance Method Summary
collapse
#grub2, #grub_default, #password, #sections, #stage1
Instance Method Details
#handle ⇒ Object
1047
1048
1049
1050
1051
|
# File 'src/lib/bootloader/grub2_widgets.rb', line 1047
def handle
DeviceMapDialog.run(grub2.device_map)
nil
end
|
#help ⇒ Object
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
|
# File 'src/lib/bootloader/grub2_widgets.rb', line 1035
def help
textdomain "bootloader"
_(
"<p><b>Edit Disk Boot Order</b>\n" \
"allows to specify the order of the disks according to the order in BIOS. Use\n" \
"the <b>Up</b> and <b>Down</b> buttons to reorder the disks.\n" \
"To add a disk, push <b>Add</b>.\n" \
"To remove a disk, push <b>Remove</b>.</p>"
)
end
|
#label ⇒ Object
1029
1030
1031
1032
1033
|
# File 'src/lib/bootloader/grub2_widgets.rb', line 1029
def label
textdomain "bootloader"
_("&Edit Disk Boot Order")
end
|