Author: locilka Date: Fri Aug 24 15:18:57 2007 New Revision: 40461 URL: http://svn.opensuse.org/viewcvs/yast?rev=40461&view=rev Log: - Disable the [ Next ] button in the License dialog until either "Agree" or "Dont't Agree" is selected (#303828). - 2.15.67 Modified: trunk/packager/VERSION trunk/packager/package/yast2-packager.changes trunk/packager/src/modules/ProductLicense.ycp Modified: trunk/packager/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/VERSION?rev=40461&r1=40460&r2=40461&view=diff ============================================================================== --- trunk/packager/VERSION (original) +++ trunk/packager/VERSION Fri Aug 24 15:18:57 2007 @@ -1 +1 @@ -2.15.66 +2.15.67 Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=40461&r1=40460&r2=40461&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Fri Aug 24 15:18:57 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Aug 24 15:12:19 CEST 2007 - locilka@suse.cz + +- Disable the [ Next ] button in the License dialog until either + "Agree" or "Dont't Agree" is selected (#303828). +- 2.15.67 + +------------------------------------------------------------------- Thu Aug 23 18:31:31 CEST 2007 - locilka@suse.cz - Displaying license in a separate Wizard dialog not to rewrite the Modified: trunk/packager/src/modules/ProductLicense.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/modules/ProductLicense.ycp?rev=40461&r1=40460&r2=40461&view=diff ============================================================================== --- trunk/packager/src/modules/ProductLicense.ycp (original) +++ trunk/packager/src/modules/ProductLicense.ycp Fri Aug 24 15:18:57 2007 @@ -145,10 +145,12 @@ `HSpacing (2*space), `VBox( `Left(`RadioButton(`id(`yes), + `opt(`notify), // radio button _("&Yes, I Agree to the License Agreement") )), `Left(`RadioButton(`id(`no), + `opt(`notify), // radio button _("N&o, I Do Not Agree") )) @@ -184,7 +186,7 @@ "); Wizard::SetContents(caption, contents, help, - back, true); + back, false); // bugzilla #203543 if (size(langs) <= 1) { UI::ChangeWidget (`id(`lang), `Enabled, false); @@ -541,12 +543,15 @@ ret = (symbol) UI::UserInput(); - if (ret == `lang) - { + if (ret == `lang) { // read the selected language lic_lang = (string) UI::QueryWidget (`id (`lang), `Value); UI::ReplaceWidget (`id (`license_rp), GetLicenseContent (lic_lang, licenses)); + // bugzilla #303828 + // disabled next button unless yes/no is selected + } else if (ret == `yes || ret == `no) { + Wizard::EnableNextButton(); } // FIXME: rewrite this if () ... else if () ... else {}; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org