Author: locilka Date: Mon Aug 6 13:17:28 2007 New Revision: 39981 URL: http://svn.opensuse.org/viewcvs/yast?rev=39981&view=rev Log: Small fixes Modified: trunk/packager/src/clients/inst_productsources.ycp Modified: trunk/packager/src/clients/inst_productsources.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/inst_productsources.ycp?rev=39981&r1=39980&r2=39981&view=diff ============================================================================== --- trunk/packager/src/clients/inst_productsources.ycp (original) +++ trunk/packager/src/clients/inst_productsources.ycp Mon Aug 6 13:17:28 2007 @@ -818,7 +818,7 @@ integer src_id = Pkg::RepositoryAdd ($[ "enabled" : true, "name" : repo_name, - "base_urls" : url, + "base_urls" : [url], "prod_dir" : pth, "alias" : url, ]); @@ -828,7 +828,7 @@ // TRANSLATORS: pop-up error message // %1 is replaced with a repository name or URL _("Adding repository %1 failed"), - list_of_repos[CreateRepoId(url,pth), "name"]:url + (repo_name != "" ? repo_name : url) )); // FIXME: retry ? return false; @@ -864,7 +864,7 @@ symbol WriteDialog () { list <string> actions_todo = []; list <string> actions_doing = []; - boolean at_once = nil; + boolean at_once = false; list <integer> repos_to_be_deleted = []; @@ -963,12 +963,10 @@ CreateSource ( list_of_repos[repo_id, "url"]:"", list_of_repos[repo_id, "path"]:"/", - GetLocalizedString (repo_id, ["summary", "name"]) + GetLocalizedString (repo_id, ["name"]) ); }); - - // Redraw installation wizard if (Stage::initial()) { UpdateWizardSteps(); @@ -978,7 +976,11 @@ } Progress::Finish(); - sleep (600); + if (Stage::initial()) { + sleep (600); + } else { + sleep (2000); + } return `next; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org