Author: locilka Date: Wed Jan 28 16:20:54 2009 New Revision: 55125 URL: http://svn.opensuse.org/viewcvs/yast?rev=55125&view=rev Log: Some more SlideShow Modified: trunk/installation/src/clients/inst_finish.ycp Modified: trunk/installation/src/clients/inst_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_finish.ycp?rev=55125&r1=55124&r2=55125&view=diff ============================================================================== --- trunk/installation/src/clients/inst_finish.ycp (original) +++ trunk/installation/src/clients/inst_finish.ycp Wed Jan 28 16:20:54 2009 @@ -337,7 +337,9 @@ foreach (map step, stage["steps"]:[], { current_step = current_step + 1; + SlideShow::SubProgress (100 * current_step / steps_nr, nil); SlideShow::StageProgress (current_stage_percent + (100 / stages_nr * current_step / steps_nr), nil); + if (haskey (step, "title")) { // use as ' * %1' -> ' * One of the finish steps...' in the SlideShow log SlideShow::AppendMessageToInstLog (sformat (_(" * %1"), step["title"]:"")); @@ -366,8 +368,11 @@ SlideShow::HandleInput (user_ret); } }); + if (aborted) break; + + SlideShow::SubProgress (100, nil); }); SlideShow::StageProgress (100, _("Finished")); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org