On Tue, Jan 13, 2009 at 10:22:02AM +0100, Johannes Meixner wrote: >> In this case example code is here: >> >> Wizard::SetContents(caption, contents, help, true, true); >> Wizard::SetNextButton(`next, Label::OKButton()); >> Wizard::SetAbortButton(`abort, Label::CancelButton()); >> Wizard::HideBackButton(); > > I already implemented Martin's wish in the printer and scanner module. > > But according to how I understand Martin's style guide > there is no longer a button with abort functionality. > > Therefore I implemented Martin's wish different than your > code above, see for an example > https://bugzilla.novell.com/show_bug.cgi?id=443684#c1 > > Wizard::SetContentsButtons > ( caption, > contents, > HELPS["add_driver_dialog"]:"", > // Set a new label for the "back" button: > Label::CancelButton(), > // Set a new label for the "next" button: > Label::OKButton() > ); > Wizard::HideAbortButton();
I assume that this looks the same, but the consequence is that "Cancel" gets the F8 key like Back (wrong) and not F9 like Abort (right): http://en.opensuse.org/YaST/Style_Guide#Function_keys_.28F_keys.29 -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
