Author: locilka
Date: Tue Dec 16 14:32:02 2008
New Revision: 54170
URL: http://svn.opensuse.org/viewcvs/yast?rev=54170&view=rev
Log:
- Fixed progress when adding community repositories (bnc #459391).
- 2.17.53
Modified:
branches/SuSE-Code-11-Branch/packager/VERSION
branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes
branches/SuSE-Code-11-Branch/packager/src/clients/inst_productsources.ycp
branches/SuSE-Code-11-Branch/packager/src/modules/ProductLicense.ycp
Modified: branches/SuSE-Code-11-Branch/packager/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/packager/VERSION?rev=54170&r1=54169&r2=54170&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/packager/VERSION (original)
+++ branches/SuSE-Code-11-Branch/packager/VERSION Tue Dec 16 14:32:02 2008
@@ -1 +1 @@
-2.17.52
+2.17.53
Modified: branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes?rev=54170&r1=54169&r2=54170&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes (original)
+++ branches/SuSE-Code-11-Branch/packager/package/yast2-packager.changes Tue Dec 16 14:32:02 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Dec 16 14:28:42 CET 2008 - locilka@suse.cz
+
+- Fixed progress when adding community repositories (bnc #459391).
+- 2.17.53
+
+-------------------------------------------------------------------
Thu Dec 11 16:27:25 CET 2008 - locilka@suse.cz
- Fixed handling of patterns selected by add-ons (by using
Modified: branches/SuSE-Code-11-Branch/packager/src/clients/inst_productsources.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/packager/src/clients/inst_productsources.ycp?rev=54170&r1=54169&r2=54170&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/packager/src/clients/inst_productsources.ycp (original)
+++ branches/SuSE-Code-11-Branch/packager/src/clients/inst_productsources.ycp Tue Dec 16 14:32:02 2008
@@ -1221,7 +1221,28 @@
return (symbol) dialog_ret;
}
- boolean CreateSource (string url, string pth, string repo_name) {
+ void CreateAndAdjustWriteProgress (list <string> & actions_todo, list <string> actions_doing) {
+ y2milestone ("Creating new Write() progress");
+
+ Progress::New (
+ // TRANSLATORS: dialog caption
+ _("Writing List of Online Repositories"),
+ " ",
+ size (actions_todo),
+ actions_todo,
+ actions_doing,
+ // TRANSLATORS: dialog help
+ _("<p>Please wait while the repository manager downloads the repository details...</p>")
+ );
+
+ Wizard::SetTitleIcon ("yast-sw_source");
+ }
+
+ boolean CreateSource (
+ string url, string pth, string repo_name,
+ list <string> & actions_todo, list <string> & actions_doing,
+ boolean no_progress_updates
+ ) {
integer src_id = nil;
string repo_type = Pkg::RepositoryProbe(url, pth);
@@ -1285,7 +1306,7 @@
if (Stage::initial()) {
AddOnProduct::Integrate (src_id);
- map