Author: locilka
Date: Tue Dec 16 14:32:17 2008
New Revision: 54171
URL: http://svn.opensuse.org/viewcvs/yast?rev=54171&view=rev
Log:
- Fixed progress when adding community repositories (bnc #459391).
Modified:
trunk/packager/package/yast2-packager.changes
trunk/packager/src/clients/inst_productsources.ycp
trunk/packager/src/modules/ProductLicense.ycp
Modified: trunk/packager/package/yast2-packager.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=54171&r1=54170&r2=54171&view=diff
==============================================================================
--- trunk/packager/package/yast2-packager.changes (original)
+++ trunk/packager/package/yast2-packager.changes Tue Dec 16 14:32:17 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Tue Dec 16 14:28:42 CET 2008 - locilka@suse.cz
+
+- Fixed progress when adding community repositories (bnc #459391).
+
+-------------------------------------------------------------------
Thu Dec 11 16:27:25 CET 2008 - locilka@suse.cz
- Fixed handling of patterns selected by add-ons (by using
Modified: trunk/packager/src/clients/inst_productsources.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/inst_productsources.ycp?rev=54171&r1=54170&r2=54171&view=diff
==============================================================================
--- trunk/packager/src/clients/inst_productsources.ycp (original)
+++ trunk/packager/src/clients/inst_productsources.ycp Tue Dec 16 14:32:17 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