Author: kmachalkova Date: Thu Aug 23 13:25:04 2007 New Revision: 40425 URL: http://svn.opensuse.org/viewcvs/yast?rev=40425&view=rev Log: Display repository name instead of product name in package selector Modified: trunk/qt/src/pkg/YQPkgRepoList.cc Modified: trunk/qt/src/pkg/YQPkgRepoList.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/pkg/YQPkgRepoList.cc?rev=40425&r1=40424&r2=40425&view=diff ============================================================================== --- trunk/qt/src/pkg/YQPkgRepoList.cc (original) +++ trunk/qt/src/pkg/YQPkgRepoList.cc Thu Aug 23 13:25:04 2007 @@ -224,13 +224,13 @@ { if ( nameCol() >= 0 ) { - string name; - ZyppProduct product = singleProduct( _zyppRepo ); + string name = repo.info().name(); + //ZyppProduct product = singleProduct( _zyppRepo ); - if ( product ) // only if the repository provides exactly one product - { // (which is the most common case) - name = product->summary(); - } + //if ( product ) // only if the repository provides exactly one product + //{ // (which is the most common case) + // name = product->summary(); + //} if ( ! name.empty() ) setText( nameCol(), name.c_str() ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org