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

Returns a new instance of Remote.



27
28
29
30
# File 'src/lib/y2remote/dialogs/remote.rb', line 27

def initialize
  super
  textdomain "network"
end

Instance Method Details

#contentsObject



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

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

#titleObject



32
33
34
# File 'src/lib/y2remote/dialogs/remote.rb', line 32

def title
  _("Remote Administration")
end