Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Feb 14, 2017
1 parent b111658 commit 71d58be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/installation/widgets/overview.rb
Expand Up @@ -82,6 +82,7 @@ def items
@items = d["label_proposal"]
end

# Updates overview content
def redraw
reset

Expand All @@ -90,6 +91,7 @@ def redraw
@overviews_for_redraw.each(&:redraw)
end

# Custom event handler
def handle(_event)
Yast::WFM.CallFunction(proposal_client, ["AskUser", {}])

Expand Down Expand Up @@ -121,6 +123,7 @@ def button_id
"ask_" + proposal_client
end

# The overview representation in common UI widgets
def widget
VBox(
Left(PushButton(Id(button_id), label)),
Expand Down

0 comments on commit 71d58be

Please sign in to comment.