Class: Y2Remote::Dialogs::Remote

Inherits:
CWM::Dialog
  • Object
show all
Defined in:
src/lib/y2remote/dialogs/remote.rb

Instance Method Summary collapse

Constructor Details

#initializeRemote


29
30
31
32
# File 'src/lib/y2remote/dialogs/remote.rb', line 29

def initialize
  super
  textdomain "network"
end

Instance Method Details

#contentsObject


38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'src/lib/y2remote/dialogs/remote.rb', line 38

def contents
  HBox(
    HStretch(),
    VBox(
      Frame(
        # Dialog frame title
        _("Remote Administration Settings"),
        Widgets::RemoteSettings.new
      ),
      VSpacing(1),
      Widgets::RemoteFirewall.new
    ),
    HStretch()
  )
end

#titleObject


34
35
36
# File 'src/lib/y2remote/dialogs/remote.rb', line 34

def title
  _("Remote Administration")
end