[yast-commit] r40392 - in /trunk/installation: package/yast2-installation.changes src/clients/inst_system_analysis.ycp
Author: locilka Date: Wed Aug 22 11:00:59 2007 New Revision: 40392 URL: http://svn.opensuse.org/viewcvs/yast?rev=40392&view=rev Log: - Allowing to abort the "System Probing" dialog (#298049). Modified: trunk/installation/package/yast2-installation.changes trunk/installation/src/clients/inst_system_analysis.ycp Modified: trunk/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=40392&r1=40391&r2=40392&view=diff ============================================================================== --- trunk/installation/package/yast2-installation.changes (original) +++ trunk/installation/package/yast2-installation.changes Wed Aug 22 11:00:59 2007 @@ -6,6 +6,7 @@ - Added ssh_host_dsa_key ssh_host_dsa_key.pub ssh_host_rsa_key ssh_host_rsa_key.pub to be optionally copied as well as the SSH1 keys (#298798). +- Allowing to abort the "System Probing" dialog (#298049). - 2.15.43 ------------------------------------------------------------------- Modified: trunk/installation/src/clients/inst_system_analysis.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_system_analysis.ycp?rev=40392&r1=40391&r2=40392&view=diff ============================================================================== --- trunk/installation/src/clients/inst_system_analysis.ycp (original) +++ trunk/installation/src/clients/inst_system_analysis.ycp Wed Aug 22 11:00:59 2007 @@ -422,6 +422,19 @@ foreach (any run_function, actions_functions, { Progress::NextStage(); + // Bugzilla #298049 + // Allow to abort the probing + any ui_ret = UI::PollInput(); + + if (ui_ret == `abort) { + y2milestone ("Abort pressed"); + + if (Popup::ConfirmAbort (`painless)) { + y2warning ("User decided to abort the installation"); + return `abort; + } + } + y2milestone ("Running function: %1", run_function); boolean () run_this = (boolean()) (run_function); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org