Class: Y2Network::Widgets::WirelessAuth::WirelessWepKeys

Inherits:
CWM::PushButton
  • Object
show all
Defined in:
src/lib/y2network/widgets/wireless_auth.rb

Overview

Button for showing WEP Keys dialog

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ WirelessWepKeys

Returns a new instance of WirelessWepKeys.



117
118
119
120
121
# File 'src/lib/y2network/widgets/wireless_auth.rb', line 117

def initialize(settings)
  super()
  @settings = settings
  textdomain "network"
end

Instance Method Details

#handleObject



127
128
129
130
131
# File 'src/lib/y2network/widgets/wireless_auth.rb', line 127

def handle
  Y2Network::Dialogs::WirelessWepKeys.run(@settings)

  nil
end

#labelObject



123
124
125
# File 'src/lib/y2network/widgets/wireless_auth.rb', line 123

def label
  _("&WEP Keys")
end