Author: gs Date: Wed Nov 21 12:31:32 2007 New Revision: 42264 URL: http://svn.opensuse.org/viewcvs/yast?rev=42264&view=rev Log: remove fillDefaultList() (moved to PackageSelector) Modified: trunk/ncurses/src/NCPkgTable.cc trunk/ncurses/src/NCPkgTable.h Modified: trunk/ncurses/src/NCPkgTable.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCPkgTable.cc?rev=42264&r1=42263&r2=42264&view=diff ============================================================================== --- trunk/ncurses/src/NCPkgTable.cc (original) +++ trunk/ncurses/src/NCPkgTable.cc Wed Nov 21 12:31:32 2007 @@ -434,71 +434,6 @@ /////////////////////////////////////////////////////////////////// // -// fillDefaultList -// -// Fills the package table with the list of default rpm group -// or show the complete patch list in YOU mode -// -bool NCPkgTable::fillDefaultList( ) -{ - if ( !packager && - packager->getDefaultRpmGroup() ) - { - NCERR << "No package selector existing" << endl; - return false; - } - switch ( tableType ) - { - case T_Patches: { - packager->fillPatchList( "installable" ); // default: installable patches - - // set the visible info to long description - packager->setVisibleInfo ( NCPkgNames::PatchDescr()->toString() ); - - // show the package description of the current item - showInformation (); - break; - } - case T_Update: { - if ( ! zypp::getZYpp()->resolver()->problematicUpdateItems().empty() ) - { - packager->fillUpdateList(); - // set the visible info to package description - packager->setVisibleInfo ( NCPkgNames::PkgInfo()->toString() ); - // show the package description of the current item - showInformation (); - break; - } - } - case T_Packages: { - YStringTreeItem * defaultGroup = packager->getDefaultRpmGroup(); - - if ( defaultGroup ) - { - NCMIL << "default RPM group: " << defaultGroup->value().translation() << endl; - packager->fillPackageList ( YCPString( defaultGroup->value().translation()), - defaultGroup ); - - // set the visible info to package description - packager->setVisibleInfo ( NCPkgNames::PkgInfo()->toString() ); - // show the package description of the current item - showInformation (); - } - else - { - NCERR << "No default RPM group available" << endl; - } - break; - } - default: - break; - } - return true; -} - - -/////////////////////////////////////////////////////////////////// -// // slbHasInstalledObj // // a helper to call a method Modified: trunk/ncurses/src/NCPkgTable.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCPkgTable.h?rev=42264&r1=42263&r2=42264&view=diff ============================================================================== --- trunk/ncurses/src/NCPkgTable.h (original) +++ trunk/ncurses/src/NCPkgTable.h Wed Nov 21 12:31:32 2007 @@ -279,12 +279,6 @@ unsigned int getNumLines( ) { return myPad()->Lines(); } /** - * Shows default list (packages of default RPM group or patch list) - * @return bool - */ - bool fillDefaultList( ); - - /** * Fills the header of the table * @return void */ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org