Class: Yast::TestProposalClient

Inherits:
Client
  • Object
show all
Defined in:
src/lib/installation/clients/test_proposal.rb

Instance Method Summary collapse

Instance Method Details

#mainObject


27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'src/lib/installation/clients/test_proposal.rb', line 27

def main
  Yast.import "UI"

  Yast.import "Mode"
  Yast.import "Stage"
  Yast.import "Wizard"

  Stage.Set("continue")
  Mode.SetMode("installation")
  # Linuxrc::manual () = true;

  Wizard.CreateDialog

  @args = {}
  Ops.set(@args, "enable_back", true)
  Ops.set(@args, "enable_next", nil)
  Ops.set(@args, "proposal", WFM.Args(0))
  WFM.call("inst_proposal", [@args])
  UI.CloseDialog

  # EOF

  nil
end