Class: Installation::Console::Plugins::ProxyButton
- Inherits:
-
CWM::PushButton
- Object
- CWM::PushButton
- Installation::Console::Plugins::ProxyButton
- Defined in:
- src/lib/installation/console/plugins/proxy_button.rb
Overview
define a CWM widget for starting network configuration
Instance Method Summary collapse
- #handle ⇒ Object
- #help ⇒ Object
-
#initialize ⇒ ProxyButton
constructor
A new instance of ProxyButton.
- #label ⇒ Object
Constructor Details
#initialize ⇒ ProxyButton
Returns a new instance of ProxyButton.
28 29 30 |
# File 'src/lib/installation/console/plugins/proxy_button.rb', line 28 def initialize textdomain "network" end |
Instance Method Details
#handle ⇒ Object
43 44 45 46 |
# File 'src/lib/installation/console/plugins/proxy_button.rb', line 43 def handle Yast::WFM.call("proxy") nil end |
#help ⇒ Object
37 38 39 40 41 |
# File 'src/lib/installation/console/plugins/proxy_button.rb', line 37 def help # TRANSLATORS: help text _("<p>Use the <b>Configure Network Proxy</b> button if you need " \ "a proxy for accessing the Internet servers.</p>") end |
#label ⇒ Object
32 33 34 35 |
# File 'src/lib/installation/console/plugins/proxy_button.rb', line 32 def label # TRANSLATORS: a button label, it starts the proxy configuration _("Configure Network Proxy...") end |