Author: dmacvicar Date: Wed Mar 19 01:16:29 2008 New Revision: 45576 URL: http://svn.opensuse.org/viewcvs/yast?rev=45576&view=rev Log: - make the @System repo show installed packages as expected (bnc #370228) Modified: trunk/qt-pkg/src/YQPkgRepoList.cc Modified: trunk/qt-pkg/src/YQPkgRepoList.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgRepoList.cc?rev=45576&r1=45575&r2=45576&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgRepoList.cc (original) +++ trunk/qt-pkg/src/YQPkgRepoList.cc Wed Mar 19 01:16:29 2008 @@ -142,6 +142,12 @@ sel_it != zyppPkgEnd(); ++sel_it ) { + if ( (*sel_it)->installedObj() && + ( currentRepo.isSystemRepo() ) ) + { + exactMatches.insert( *sel_it ); + } + if ( (*sel_it)->candidateObj() && (*sel_it)->candidateObj()->repository() == currentRepo ) { @@ -232,7 +238,7 @@ { if ( nameCol() >= 0 ) { - string name = repo.info().name(); + string name = repo.name(); #if SHOW_SINGLE_PRODUCT ZyppProduct product = singleProduct( _zyppRepo ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org