[yast-commit] r57891 - in /branches/SuSE-Code-11-Branch/yast2: library/packages/src/PackageSystem.ycp package/yast2.changes
Author: lslezak Date: Tue Jul 7 13:33:03 2009 New Revision: 57891 URL: http://svn.opensuse.org/viewcvs/yast?rev=57891&view=rev Log: - Do not display "No package source" popup, just log a warning (bnc#485587) Modified: branches/SuSE-Code-11-Branch/yast2/library/packages/src/PackageSystem.ycp branches/SuSE-Code-11-Branch/yast2/package/yast2.changes Modified: branches/SuSE-Code-11-Branch/yast2/library/packages/src/PackageSystem.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/yast2/library/packages/src/PackageSystem.ycp?rev=57891&r1=57890&r2=57891&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/yast2/library/packages/src/PackageSystem.ycp (original) +++ branches/SuSE-Code-11-Branch/yast2/library/packages/src/PackageSystem.ycp Tue Jul 7 13:33:03 2009 @@ -86,11 +86,10 @@ { source_initialized = true; } - // ignore the problem when installing from LiveCD - all sources are disabled - else if (!Mode::live_installation()) + else { - /* Error message, no packages sources found */ - Report::Error(_("No package source defined.")); + // all repositories are disabled or no repository defined + y2warning("No package repository available"); } } Modified: branches/SuSE-Code-11-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/yast2/package/yast2.changes?rev=57891&r1=57890&r2=57891&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-Branch/yast2/package/yast2.changes Tue Jul 7 13:33:03 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jul 7 13:24:32 CEST 2009 - lslezak@suse.cz + +- Do not display "No package source" popup, just log a warning + (bnc#485587) + +------------------------------------------------------------------- Thu Jul 2 12:14:53 CEST 2009 - jsuchome@suse.cz - do not ask for the same password again and again (bnc#517382) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org