-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a000adc
commit fdca480
Showing
7 changed files
with
134 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
require "yast" | ||
|
||
Yast.import "Bootloader" | ||
Yast.import "Wizard" | ||
|
||
module Bootloader | ||
class ReadDialog | ||
include Yast::I18n | ||
|
||
def run | ||
Yast::Wizard.RestoreHelp(help_text) | ||
ret = Yast::Bootloader.Read | ||
ret ? :next : :abort | ||
end | ||
|
||
private | ||
|
||
def help_text | ||
textdomain "bootloader" | ||
|
||
_( | ||
"<P><BIG><B>Boot Loader Configuration Tool</B></BIG><BR>\n" \ | ||
"Reading current configuration...</P>" | ||
) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
require "yast" | ||
|
||
Yast.import "Bootloader" | ||
Yast.import "Wizard" | ||
|
||
module Bootloader | ||
class WriteDialog | ||
include Yast::I18n | ||
|
||
# Write settings dialog | ||
# @return `:abort` if aborted and `:next` otherwise | ||
def run | ||
Yast::Wizard.RestoreHelp(help_text) | ||
ret = Yast::Bootloader.Write | ||
ret ? :next : :abort | ||
end | ||
|
||
private | ||
|
||
def help_text | ||
textdomain "bootloader" | ||
|
||
_( | ||
"<P><B><BIG>Saving Boot Loader Configuration</BIG></B><BR>\nPlease wait...<br></p>" | ||
) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters