On Fri, Jul 01, 2011 at 01:44:29PM -0000, [email protected] 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

Attachment: pgpoEvnMhmygY.pgp
Description: PGP signature

Reply via email to