[yast-commit] r46907 - in /trunk/ncurses-pkg/src: NCPackageSelector.cc NCPkgFilterContainer.cc
Author: kmachalkova Date: Mon Apr 21 15:14:49 2008 New Revision: 46907 URL: http://svn.opensuse.org/viewcvs/yast?rev=46907&view=rev Log: reset this label on switching between filters Modified: trunk/ncurses-pkg/src/NCPackageSelector.cc trunk/ncurses-pkg/src/NCPkgFilterContainer.cc Modified: trunk/ncurses-pkg/src/NCPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPackageSelector.cc?rev=46907&r1=46906&r2=46907&view=diff ============================================================================== --- trunk/ncurses-pkg/src/NCPackageSelector.cc (original) +++ trunk/ncurses-pkg/src/NCPackageSelector.cc Mon Apr 21 15:14:49 2008 @@ -876,6 +876,7 @@ void NCPackageSelector::replaceFilter( FilterMode mode) { + patternLabel->setLabel( " " ); YWidget * replaceChild = replPoint->firstChild(); wrect oldSize; Modified: trunk/ncurses-pkg/src/NCPkgFilterContainer.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPkgFilterContainer.cc?rev=46907&r1=46906&r2=46907&view=diff ============================================================================== --- trunk/ncurses-pkg/src/NCPkgFilterContainer.cc (original) +++ trunk/ncurses-pkg/src/NCPkgFilterContainer.cc Mon Apr 21 15:14:49 2008 @@ -170,7 +170,7 @@ } packager->FilterDescription()->setText ( showDescription( objPtr ) ); char buf[100]; - sprintf(buf, "%d/%d packages installed", installed, total); + sprintf(buf, "%d of %d packages installed", installed, total); packager->PatternLabel()->setLabel ( buf ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org