Class: Installation::Console::Plugins::ProxyButton

Inherits:
CWM::PushButton
  • Object
show all
Defined in:
src/lib/installation/console/plugins/proxy_button.rb

Overview

define a CWM widget for starting network configuration

Instance Method Summary collapse

Constructor Details

#initializeProxyButton

Returns a new instance of ProxyButton.



28
29
30
31
# File 'src/lib/installation/console/plugins/proxy_button.rb', line 28

def initialize
  super
  textdomain "network"
end

Instance Method Details

#handleObject



44
45
46
47
# File 'src/lib/installation/console/plugins/proxy_button.rb', line 44

def handle
  Yast::WFM.call("proxy")
  nil
end

#helpObject



38
39
40
41
42
# File 'src/lib/installation/console/plugins/proxy_button.rb', line 38

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

#labelObject



33
34
35
36
# File 'src/lib/installation/console/plugins/proxy_button.rb', line 33

def label
  # TRANSLATORS: a button label, it starts the proxy configuration
  _("Configure Network Proxy...")
end