Skip to content

Commit

Permalink
- namespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aschnell committed May 5, 2014
1 parent 439263c commit 921f888
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/modules/StorageProposal.rb
Expand Up @@ -6416,7 +6416,7 @@ def EnableSuspend
Ops.divide(Ops.get_integer(swaps, [0, "size_k"], 0), 1024),
susps
)
ret = ret || StorageProposal.GetProposalSuspend
ret = ret || GetProposalSuspend()
Builtins.y2milestone(
"EnableSuspend csw:%1 swsize:%2 suspsize:%3 ret:%4",
Builtins.size(swaps),
Expand Down Expand Up @@ -6448,16 +6448,16 @@ def CommonWidgetsPopup()
UI.ChangeWidget(Id(:encrypt), :Enabled, GetProposalLvm())
UI.ChangeWidget(Id(:root_fs), :Value, GetProposalRootFs())
UI.ChangeWidget(Id(:snapshots), :Enabled, GetProposalRootFs() == :btrfs)
UI.ChangeWidget(Id(:home_fs), :Enabled, StorageProposal.GetProposalHome())
UI.ChangeWidget(Id(:home_fs), :Value, StorageProposal.GetProposalHomeFs())
UI.ChangeWidget(Id(:home_fs), :Enabled, GetProposalHome())
UI.ChangeWidget(Id(:home_fs), :Value, GetProposalHomeFs())
UI.ChangeWidget(Id(:suspend), :Enabled, EnableSuspend())

UI.ChangeWidget(Id(:help), :HelpText, StorageProposal.CommonWidgetsHelp())
UI.ChangeWidget(Id(:help), :HelpText, CommonWidgetsHelp())

begin
ret = Convert.to_symbol(UI.UserInput)
if StorageProposal.IsCommonWidget(ret)
StorageProposal.HandleCommonWidgets(ret)
if IsCommonWidget(ret)
HandleCommonWidgets(ret)
end
end until [ :ok, :cancel ].include?(ret)

Expand Down

0 comments on commit 921f888

Please sign in to comment.