Skip to content

Commit

Permalink
layout
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Oct 23, 2024
1 parent 681f3b6 commit 19800af
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions src/lib/bootloader/grub2_bls_widgets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,6 @@
module Bootloader
module Grub2BlsBootWidget

# Represents bootloader timeout value
class TimeoutWidget < CWM::CustomWidget

def initialize
textdomain "bootloader"

super()

@minimum = 0
@maximum = 600
@default = 10
end

attr_reader :minimum, :maximum, :default

def contents
HBox(
Left(Label("")),
CWM::Empty.new("BootloaderTab")
)
# CheckBoxFrame(
# Id(:cont_boot),
# _("Automatically boot the default entry after a timeout"),
# false,
# HBox(
# IntField(Id(:seconds), _("&Timeout in Seconds"), @minimum, @maximum,
# 1),
# HStretch()
# )
# )
end
end

class BootloaderTab < CWM::Tab

def label
Expand All @@ -55,7 +22,7 @@ def contents
VBox(
VSpacing(2),
HBox(
Left(Label("")),
Label("")
),
VStretch()
)
Expand Down

0 comments on commit 19800af

Please sign in to comment.