[yast-commit] r47114 - in /trunk/yast2: VERSION library/packages/src/PackageCallbacks.ycp package/yast2.changes
Author: lslezak Date: Mon Apr 28 15:41:10 2008 New Revision: 47114 URL: http://svn.opensuse.org/viewcvs/yast?rev=47114&view=rev Log: - Abort completete autorefresh when [Abort] is pressed after a download problem (bnc #382377) - 2.16.59 Modified: trunk/yast2/VERSION trunk/yast2/library/packages/src/PackageCallbacks.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/VERSION?rev=47114&r1=47113&r2=47114&view=diff ============================================================================== --- trunk/yast2/VERSION (original) +++ trunk/yast2/VERSION Mon Apr 28 15:41:10 2008 @@ -1 +1 @@ -2.16.58 +2.16.59 Modified: trunk/yast2/library/packages/src/PackageCallbacks.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/packages/src/PackageCallbacks.ycp?rev=47114&r1=47113&r2=47114&view=diff ============================================================================== --- trunk/yast2/library/packages/src/PackageCallbacks.ycp (original) +++ trunk/yast2/library/packages/src/PackageCallbacks.ycp Mon Apr 28 15:41:10 2008 @@ -1015,7 +1015,16 @@ } if (r == `cancel) + { + // abort during autorefresh should abort complete autorefresh, not only the failed repo + if (autorefreshing) + { + autorefreshing_aborted = true; + Pkg::SkipRefresh(); + } + return "C"; + } if (r == `ignore) return "I"; if (r == `skip) Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=47114&r1=47113&r2=47114&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Mon Apr 28 15:41:10 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Apr 28 15:35:47 CEST 2008 - lslezak@suse.cz + +- Abort completete autorefresh when [Abort] is pressed after + a download problem (bnc #382377) +- 2.16.59 + +------------------------------------------------------------------- Fri Apr 25 11:18:24 CEST 2008 - lslezak@suse.cz - do not use UI:: call while importing PackageCallbaks module -- 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