Author: lslezak Date: Fri Sep 5 14:11:35 2008 New Revision: 50737 URL: http://svn.opensuse.org/viewcvs/yast?rev=50737&view=rev Log: - repositories.ycp - initialize the target aftret opening a dialog, do not open a separate window for the progress dialog Modified: trunk/packager/src/clients/repositories.ycp Modified: trunk/packager/src/clients/repositories.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/repositories.ycp?rev=50737&r1=50736&r2=50737&view=diff ============================================================================== --- trunk/packager/src/clients/repositories.ycp (original) +++ trunk/packager/src/clients/repositories.ycp Fri Sep 5 14:11:35 2008 @@ -888,6 +888,7 @@ { // dialog caption Wizard::SetContents(_("Initializing..."), `Empty (), "", false, true); + Pkg::TargetInit("/", true); } // check whether running as root @@ -991,18 +992,6 @@ return ret; } -else -{ - y2milestone("Initializing the target..."); - - // disable callbasks in command line mode - if (size(WFM::Args()) > 0) - { - Mode::SetUI ("commandline"); - } - - Pkg::TargetInit("/", true); -} return CommandLine::Run(cmdline_description); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org