Author: dmacvicar Date: Mon May 19 16:24:51 2008 New Revision: 10143 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10143&view=rev Log: - using the right methods for settng transactions Modified: trunk/libzypp/zypp/ui/SelectableImpl.cc Modified: trunk/libzypp/zypp/ui/SelectableImpl.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ui/SelectableImpl.cc?rev=10143&r1=10142&r2=10143&view=diff ============================================================================== --- trunk/libzypp/zypp/ui/SelectableImpl.cc (original) +++ trunk/libzypp/zypp/ui/SelectableImpl.cc Mon May 19 16:24:51 2008 @@ -90,7 +90,7 @@ if ( cand ) { if ( inst ) { - inst.status().setTransact( false, ResStatus::USER ); + inst.status().resetTransact( ResStatus::USER ); inst.status().setLock ( false, ResStatus::USER ); if ( ! cand->installOnly() ) { @@ -102,7 +102,7 @@ } } unlockCandidates(); - return cand.status().setTransact( true, ResStatus::USER ); + return cand.status().setToBeInstalled( ResStatus::USER ); } return false; } @@ -113,7 +113,7 @@ { resetTransactingCandidates(); inst.status().setLock( false, ResStatus::USER ); - return inst.status().setTransact( true, ResStatus::USER ); + return inst.status().setToDelete( ResStatus::USER ); } return false; } @@ -121,7 +121,7 @@ bool unset() const { if ( inst ) { - inst.status().setTransact( false, ResStatus::USER ); + inst.status().resetTransact( ResStatus::USER ); inst.status().setLock( false, ResStatus::USER ); } unlockCandidates(); @@ -132,7 +132,7 @@ { if ( inst ) { resetTransactingCandidates(); - inst.status().setTransact( false, ResStatus::USER ); + inst.status().tesetTransact( ResStatus::USER ); return inst.status().setLock( true, ResStatus::USER ); } else return false; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org