[yast-commit] r39904 - /trunk/ncurses/src/pkg/NCPackageSelector.cc

Author: gs Date: Thu Aug 2 15:09:16 2007 New Revision: 39904 URL: http://svn.opensuse.org/viewcvs/yast?rev=39904&view=rev Log: show Filter: <product summary> after filling the repository list Modified: trunk/ncurses/src/pkg/NCPackageSelector.cc Modified: trunk/ncurses/src/pkg/NCPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/pkg/NCPackageSelector... ============================================================================== --- trunk/ncurses/src/pkg/NCPackageSelector.cc (original) +++ trunk/ncurses/src/pkg/NCPackageSelector.cc Thu Aug 2 15:09:16 2007 @@ -1227,6 +1227,17 @@ //and show the whole stuff to the user pkgList->drawList(); + YWidget * filterLabel = y2ui->widgetWithId( NCPkgNames::Filter(), true ); + + if ( repoPopup && filterLabel ) + { + ZyppProduct product = repoPopup->findProductForRepo( repo ); + if ( product ) + { + static_cast<NCLabel *>(filterLabel)->setLabel( product->summary() ); + } + } + return true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org