Author: locilka Date: Tue Dec 4 14:59:08 2007 New Revision: 42658 URL: http://svn.opensuse.org/viewcvs/yast?rev=42658&view=rev Log: - Speeding up Community Repositories (No need to refresh cache). - New Progress with Icons used in Community Repositories. Modified: trunk/packager/package/yast2-packager.changes trunk/packager/src/clients/inst_productsources.ycp Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=42658&r1=42657&r2=42658&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Tue Dec 4 14:59:08 2007 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Dec 4 14:58:07 CET 2007 - locilka@suse.cz + +- Speeding up Community Repositories (No need to refresh cache). +- New Progress with Icons used in Community Repositories. + +------------------------------------------------------------------- Mon Dec 3 13:48:25 CET 2007 - locilka@suse.cz - Removed "If you like to print this license..." (#327542). Modified: trunk/packager/src/clients/inst_productsources.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/inst_productsources.ycp?rev=42658&r1=42657&r2=42658&view=diff ============================================================================== --- trunk/packager/src/clients/inst_productsources.ycp (original) +++ trunk/packager/src/clients/inst_productsources.ycp Tue Dec 4 14:59:08 2007 @@ -340,9 +340,8 @@ if (!PackageLock::Check()) return false; Pkg::TargetInitialize (Installation::destdir); - // not necessary - // Pkg::TargetLoad(); - Pkg::SourceStartManager (true); + // the fastest way + Pkg::SourceRestore(); if (! Mode::installation()) { // repos_already_used @@ -571,14 +570,20 @@ _("Downloading list of online repositories..."), ]; + list <string> icons_for_progress = [ + "yast-network.png", + "yast-restore.png", + ]; + if (! Stage::initial()) { // TRANSLATORS: progress step actions_todo = add (actions_todo, _("Initialize the repository manager")); // TRANSLATORS: progress step actions_doing = add (actions_doing, _("Initializing the repository manager...")); + icons_for_progress = add (icons_for_progress, "yast-sw_source.png"); } - Progress::New ( + Progress::NewProgressIcons ( // TRANSLATORS: dialog caption _("Reading List of Online Repositories"), " ", @@ -588,7 +593,8 @@ // TRANSLATORS: dialog help _("<p>Please wait while the packager is being initialized and the list of servers dowloaded from Web.</p> -") +"), + [icons_for_progress] ); Wizard::SetTitleIcon ("yast-network"); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org