Hello, On Jan 13 09:09 Michal Zugec wrote (shortened):
I have some bugreports from Martin about button labeling described in guideline: http://en.opensuse.org/YaST/Style_Guide#Single_Configuration.2FOverview.2FEd...
My question is about button ordering: Is that really suppose to be OK, Cancel order? Then it needs to be fixes in Wizard module (or show me how to implement that). Or the order is not important? If not, then screenshot/description should be fixed ...
...
Example of such bugreport: https://bugzilla.novell.com/show_bug.cgi?id=440521
The point of the bug are the labels, not the ordering. The confusing for me was fact, that ordering is not mentioned in styleguide at all.
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();
What about new function Wizard::SetStandaloneContents() ?
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(); See also my other mail here which was not sufficiently answered: http://lists.opensuse.org/yast-devel/2008-11/msg00040.html Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org