[yast-commit] r38221 - in /trunk/ncurses/src: NCPkgTable.cc pkg/NCPackageSelector.cc
Author: gs Date: Thu May 31 14:25:45 2007 New Revision: 38221 URL: http://svn.opensuse.org/viewcvs/yast?rev=38221&view=rev Log: allow status change of patch packages Modified: trunk/ncurses/src/NCPkgTable.cc trunk/ncurses/src/pkg/NCPackageSelector.cc Modified: trunk/ncurses/src/NCPkgTable.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCPkgTable.cc?rev=38221&r1=38220&r2=38221&view=diff ============================================================================== --- trunk/ncurses/src/NCPkgTable.cc (original) +++ trunk/ncurses/src/NCPkgTable.cc Thu May 31 14:25:45 2007 @@ -316,6 +316,7 @@ switch ( tableType ) { case T_Packages: + case T_PatchPkgs: case T_Update: // check/show dependencies of packages packager->showPackageDependencies( false ); // only check if automatic check is ON Modified: trunk/ncurses/src/pkg/NCPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/pkg/NCPackageSelector.cc?rev=38221&r1=38220&r2=38221&view=diff ============================================================================== --- trunk/ncurses/src/pkg/NCPackageSelector.cc (original) +++ trunk/ncurses/src/pkg/NCPackageSelector.cc Thu May 31 14:25:45 2007 @@ -1484,8 +1484,8 @@ { // set the connection to the NCPackageSelector !!!! patchPkgs->setPackager( this ); - // set status strategy - NCPkgStatusStrategy * strategy = new PatchPkgStatStrategy(); + // set status strategy - don't set extra strategy, use 'normal' package strategy + NCPkgStatusStrategy * strategy = new PackageStatStrategy(); patchPkgs->setTableType( NCPkgTable::T_PatchPkgs, strategy ); patchPkgs->fillHeader( ); -- 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