[yast-commit] r66643 - in /branches/SuSE-Code-11-SP2-Branch/yast2: VERSION library/packages/src/PackageCallbacks.ycp package/yast2.changes
Author: lslezak Date: Mon Oct 31 17:21:17 2011 New Revision: 66643 URL: http://svn.opensuse.org/viewcvs/yast?rev=66643&view=rev Log: - package callbacks - do not display error popup for failed optional downloads (bnc#711253) - 2.17.116 Modified: branches/SuSE-Code-11-SP2-Branch/yast2/VERSION branches/SuSE-Code-11-SP2-Branch/yast2/library/packages/src/PackageCallbacks.ycp branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes Modified: branches/SuSE-Code-11-SP2-Branch/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/VERSION?rev=66643&r1=66642&r2=66643&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/VERSION Mon Oct 31 17:21:17 2011 @@ -1 +1 @@ -2.17.115 +2.17.116 Modified: branches/SuSE-Code-11-SP2-Branch/yast2/library/packages/src/PackageCallbacks.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/library/packages/src/PackageCallbacks.ycp?rev=66643&r1=66642&r2=66643&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/library/packages/src/PackageCallbacks.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/library/packages/src/PackageCallbacks.ycp Mon Oct 31 17:21:17 2011 @@ -2049,29 +2049,12 @@ return true; } - global void DoneDownload (integer error_value, string error_text) { if (error_value != 0) { - if (autorefreshing && autorefreshing_aborted) - { - y2milestone("Refresh aborted"); - } - else - { - if (Mode::commandline()) { - //error message, %1 is the cause for the error - CommandLine::Print(sformat (_("Download failed: - %1"), error_text)); - } - else - { - // error message, %1 is the cause for the error - Popup::Error (sformat (_("Download failed: - %1"), error_text)); - } - } + // no error popup - just log a message (download errors are handled in MediaChange callback) + y2milestone("Download failed: error code: %1, message: %2", error_value, error_text); } } Modified: branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes?rev=66643&r1=66642&r2=66643&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/yast2/package/yast2.changes Mon Oct 31 17:21:17 2011 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Oct 31 14:18:35 UTC 2011 - lslezak@suse.cz + +- package callbacks - do not display error popup for failed + optional downloads (bnc#711253) +- 2.17.116 + +------------------------------------------------------------------- Wed Oct 26 13:12:56 UTC 2011 - lslezak@suse.cz - PackagesUI.ycp - fixed translations in the pattern selection -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn2.opensuse.org