Class: Y2Network::Widgets::BondSlavesTab

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

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ BondSlavesTab


30
31
32
33
34
# File 'src/lib/y2network/widgets/bond_slaves_tab.rb', line 30

def initialize(settings)
  textdomain "network"

  @settings = settings
end

Instance Method Details

#contentsObject


40
41
42
# File 'src/lib/y2network/widgets/bond_slaves_tab.rb', line 40

def contents
  VBox(BondSlave.new(@settings), BondOptions.new(@settings))
end

#labelObject


36
37
38
# File 'src/lib/y2network/widgets/bond_slaves_tab.rb', line 36

def label
  _("&Bond Slaves")
end