8 Feb
2017
8 Feb
'17
09:24
Hi developers, I was again hit by issue with enabling disabling buttons in wizard and also its renaming and having six parameters to all wizard dialogs are wrong from API POV. So what I proposing? Create configuration class that have names and enablement for all buttons in wizard, reasonable defaults for it and can be passed as argument or apply to wizard it itself. so instead of def InstDialog(enable_next: true, enable_back: true, enable_abort: true, next_label: Label.Next, back_label: Label.Back, abort_label: Label.Abort) will API look like def InstDialog(buttons: DefaultButtons.new) What do you think? Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org