[yast-devel] Re: [yast-commit] r64711 - Wizard::UserInput
On Fri, Jul 01, 2011 at 01:44:29PM -0000, locilka@svn2.opensuse.org wrote:
Author: locilka Date: Fri Jul 1 15:44:29 2011 New Revision: 64711
URL: http://svn.opensuse.org/viewcvs/yast?rev=64711&view=rev Log: - backported fixes for user-input handling in inst_proposal (bnc#575125)
Modified: branches/SuSE-Code-11-SP2-Branch/installation/src/clients/inst_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/installation/src/clients/inst_proposal.ycp?rev=64711&r1=64710&r2=64711&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/installation/src/clients/inst_proposal.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/installation/src/clients/inst_proposal.ycp Fri Jul 1 15:44:29 2011 @@ -1159,6 +1159,10 @@ SetNextButton();
input = Wizard::UserInput(); + + if ( input == `accept ) return `next; + if ( input == `cancel ) return `abort; +
Did you also mean to use UI::UserInput above? otherwise the added code is useless.
y2milestone("Proposal - UserInput: '%1'", input); richtext_busy_cursor(`id(`proposal ) ); -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 1.7.2011 18:23, Martin Vidner napsal(a):
On Fri, Jul 01, 2011 at 01:44:29PM -0000, locilka@svn2.opensuse.org wrote:
Author: locilka Date: Fri Jul 1 15:44:29 2011 New Revision: 64711
URL: http://svn.opensuse.org/viewcvs/yast?rev=64711&view=rev Log: - backported fixes for user-input handling in inst_proposal (bnc#575125)
Modified: branches/SuSE-Code-11-SP2-Branch/installation/src/clients/inst_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/installation/src/clients/inst_proposal.ycp?rev=64711&r1=64710&r2=64711&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/installation/src/clients/inst_proposal.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/installation/src/clients/inst_proposal.ycp Fri Jul 1 15:44:29 2011 @@ -1159,6 +1159,10 @@ SetNextButton();
input = Wizard::UserInput(); + + if ( input == `accept ) return `next; + if ( input == `cancel ) return `abort; +
Did you also mean to use UI::UserInput above? otherwise the added code is useless.
Ah, I see. Fixed. Thanks. Lukas - -- Lukas Ocilka, Appliances Department, SUSE LINUX s.r.o. MD: Jeff Hawn, Jennifer Guild, Alena Hendrichova -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iD8DBQFOEaotVSqMdRCqTiwRArscAJ9w18AVfgPQIlHPCmQaD38cavjcTwCfS2Zh dswHLSP/bGDgHNEdyJ2sHcI= =QP2N -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Lukas Ocilka
-
Martin Vidner