Skip to content

Commit

Permalink
Use ButtonBoxes, use Wizard::OpenOKDialog
Browse files Browse the repository at this point in the history
svn path=/trunk/nfs-client/; revision=60690
  • Loading branch information
Katarína Machálková authored and mvidner committed Nov 22, 2012
1 parent cc101fb commit 5a03805
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/ui.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
`SelectionBox (`id (`items), title, items),
`VSpacing(10)
),
`HBox (
`ButtonBox (
`PushButton (`id (`ok), `opt (`default, `key_F10),
Label::OKButton ()),
`PushButton (`id (`cancel), `opt (`key_F9),
Expand Down Expand Up @@ -258,7 +258,7 @@
`VSpacing(0.2),
`TextEntry(`id(`optionsent), _("O&ptions"), options),
`VSpacing(0.2),
`HBox(
`ButtonBox(
`PushButton(`id(`ok), `opt(`default, `key_F10), Label::OKButton()),
`PushButton(`id(`cancel), `opt (`key_F9), Label::CancelButton()),
`PushButton(`id(`help), `opt (`key_F1), Label::HelpButton())),
Expand Down Expand Up @@ -679,12 +679,12 @@ rights.</p>") + fw_cwm_widget["help"]:"";
nfs_entries = Nfs::nfs_entries;

// dialog heading
Wizard::SetContentsButtons(_("NFS Client Configuration"),
Wizard::SetContents(_("NFS Client Configuration"),
MainDialogLayout(), help_text1,
Label::BackButton (),
Label::OKButton ());
Wizard::HideBackButton();
Wizard::SetAbortButton(`abort, Label::CancelButton());
false,
true);
//Wizard::HideBackButton();
//Wizard::SetAbortButton(`abort, Label::CancelButton());

InitFstabEntries();

Expand Down
2 changes: 1 addition & 1 deletion src/wizards.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ any NfsSequence ()
]
];

Wizard::CreateDialog ();
Wizard::OpenOKDialog ();
Wizard::SetDesktopIcon ("nfs");

any ret = Sequencer::Run (aliases, sequence);
Expand Down

0 comments on commit 5a03805

Please sign in to comment.