Author: lslezak Date: Wed Mar 25 13:47:04 2009 New Revision: 56386 URL: http://svn.opensuse.org/viewcvs/yast?rev=56386&view=rev Log: - Fixed Pkg::ResolvableProperties() - return `removed status for items selected to delete (bnc#481101) Modified: branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/package/yast2-pkg-bindings.changes branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/src/Resolvable.cc Modified: branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/package/yast2-pkg-bindings.changes?rev=56386&r1=56385&r2=56386&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/package/yast2-pkg-bindings.changes Wed Mar 25 13:47:04 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Mar 25 13:41:30 CET 2009 - lslezak@suse.cz + +- Fixed Pkg::ResolvableProperties() - return `removed status for + items selected to delete (bnc#481101) + +------------------------------------------------------------------- Mon Mar 10 14:45:08 CET 2008 - lslezak@suse.cz - check whether the alias of a new source is already in use, if yes Modified: branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/src/Resolvable.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/src/Resolvable.cc?rev=56386&r1=56385&r2=56386&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/src/Resolvable.cc (original) +++ branches/SuSE-SLE-10-SP3-Branch/pkg-bindings/src/Resolvable.cc Wed Mar 25 13:47:04 2009 @@ -389,13 +389,13 @@ // status std::string stat; - if (it->status().isInstalled()) + if (it->status().isToBeInstalled()) { - stat = "installed"; + stat = "selected"; } - else if (it->status().isToBeInstalled()) + else if (it->status().isInstalled() || it->status().isSatisfied()) { - stat = "selected"; + stat = it->status().isToBeUninstalled() ? "removed" : "installed"; } else { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org