Author: jsuchome Date: Thu Aug 21 13:02:11 2008 New Revision: 50257 URL: http://svn.opensuse.org/viewcvs/yast?rev=50257&view=rev Log: - check for command line mode in inst_suseconfig (bnc#419132) Modified: trunk/installation/package/yast2-installation.changes trunk/installation/src/clients/inst_suseconfig.ycp Modified: trunk/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=50257&r1=50256&r2=50257&view=diff ============================================================================== --- trunk/installation/package/yast2-installation.changes (original) +++ trunk/installation/package/yast2-installation.changes Thu Aug 21 13:02:11 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Aug 21 13:01:40 CEST 2008 - jsuchome@suse.cz + +- check for command line mode in inst_suseconfig (bnc#419132) + +------------------------------------------------------------------- Tue Aug 19 15:45:07 CEST 2008 - jsrain@suse.cz - properly detect firstboot and do not destroy xorg.conf Modified: trunk/installation/src/clients/inst_suseconfig.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_suseconfig.ycp?rev=50257&r1=50256&r2=50257&view=diff ============================================================================== --- trunk/installation/src/clients/inst_suseconfig.ycp (original) +++ trunk/installation/src/clients/inst_suseconfig.ycp Thu Aug 21 13:02:11 2008 @@ -59,7 +59,7 @@ define void logStep( string step_descr ) ``{ current_step = current_step + 1; - if (! automatic_configuration) { + if (! automatic_configuration && !Mode::commandline ()) { UI::ChangeWidget( `id(`progress), `Value, current_step ); UI::ChangeWidget( `id(`log), `LastLine, step_descr + "\n" ); } @@ -120,8 +120,9 @@ ); // bugzilla #241553 comment #7 - UI::SetProductName (""); - if (! automatic_configuration) { + if (!Mode::commandline ()) + UI::SetProductName (""); + if (! automatic_configuration && !Mode::commandline ()) { Wizard::SetContents( // Dialog title for SuSEconfig dialog _("Writing the system configuration"), @@ -200,10 +201,11 @@ // The final LogView line to be displayed after SuSEconfig etc. is done. - UI::ChangeWidget( `id(`log), `LastLine, "\n" + _("Done.") + "\n" ); + if (!Mode::commandline ()) + UI::ChangeWidget( `id(`log), `LastLine, "\n" + _("Done.") + "\n" ); - if (Mode::test () && ! automatic_configuration) + if (Mode::test () && ! automatic_configuration && !Mode::commandline ()) { UI::MakeScreenShot(); // doesn't work manually - not widget with keyboard focus! sleep( 5*1000 ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org