Class: Y2Network::Widgets::BridgeSlavesTab

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

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ BridgeSlavesTab


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

def initialize(settings)
  textdomain "network"

  @settings = settings
end

Instance Method Details

#contentsObject


39
40
41
# File 'src/lib/y2network/widgets/bridge_slaves_tab.rb', line 39

def contents
  VBox(BridgePorts.new(@settings))
end

#labelObject


35
36
37
# File 'src/lib/y2network/widgets/bridge_slaves_tab.rb', line 35

def label
  _("Bridged Devices")
end