Class: Installation::Console::Plugins::NetworkButton
- Inherits:
-
CWM::PushButton
- Object
- CWM::PushButton
- Installation::Console::Plugins::NetworkButton
- Defined in:
- src/lib/installation/console/plugins/network_button.rb
Overview
define a CWM widget for starting proxy configuration
Instance Method Summary collapse
- #handle ⇒ Object
- #help ⇒ Object
-
#initialize ⇒ NetworkButton
constructor
A new instance of NetworkButton.
- #label ⇒ Object
Constructor Details
#initialize ⇒ NetworkButton
Returns a new instance of NetworkButton.
28 29 30 31 |
# File 'src/lib/installation/console/plugins/network_button.rb', line 28 def initialize super textdomain "network" end |
Instance Method Details
#handle ⇒ Object
44 45 46 47 48 |
# File 'src/lib/installation/console/plugins/network_button.rb', line 44 def handle Yast::WFM.call("inst_lan", [{ "skip_detection" => true, "hide_abort_button" => true }]) nil end |
#help ⇒ Object
38 39 40 41 42 |
# File 'src/lib/installation/console/plugins/network_button.rb', line 38 def help # TRANSLATORS: help text _("<p>The <b>Configure Network Devices</b> button starts the network " \ "configuration module. You can configure your network connection there.</p>") end |
#label ⇒ Object
33 34 35 36 |
# File 'src/lib/installation/console/plugins/network_button.rb', line 33 def label # TRANSLATORS: a button label, it starts the network configuration _("Configure Network Devices...") end |