Mailinglist Archive: yast-devel (46 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] r64711 - Wizard::UserInput
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Mon, 04 Jul 2011 13:55:25 +0200
  • Message-id: <4E11AA2D.8070505@suse.cz>
-----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@xxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References