[yast-commit] r40778 - in /branches/tmp/sh/mod-ui/ncurses/src: NCPkgTable.cc pkg/NCPackageSelector.cc
Author: gs Date: Thu Sep 6 11:39:52 2007 New Revision: 40778 URL: http://svn.opensuse.org/viewcvs/yast?rev=40778&view=rev Log: adapt to libzypp-3.10 (source replaced by repository) Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPackageSelector.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc?rev=40778&r1=40777&r2=40778&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc Thu Sep 6 11:39:52 2007 @@ -653,8 +653,8 @@ version = pkgPtr->edition().asString(); pkgLine.push_back( version ); - // is alias the right string? id? - pkgLine.push_back( pkgPtr->source().alias() ); // show the installation source + // show the repository (the installation source) + pkgLine.push_back( pkgPtr->repository().info().alias() ); // set package status either to S_NoInst or S_KeepInstalled status = S_NoInst; Modified: branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPackageSelector.cc?rev=40778&r1=40777&r2=40778&view=diff ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPackageSelector.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/pkg/NCPackageSelector.cc Thu Sep 6 11:39:52 2007 @@ -207,7 +207,7 @@ selectionPopup = new NCPkgPopupSelection( wpos( 1, 1 ), this, NCPkgPopupSelection::S_Selection ); // create the patterns popup patternPopup = new NCPkgPopupSelection( wpos( 1, 1 ), this, NCPkgPopupSelection::S_Pattern ); - + _rpmGroupsTree = new YRpmGroupsTree (); // get the rpm groups ZyppPoolIterator b = zyppPkgBegin (); @@ -227,9 +227,8 @@ // create the filter popup filterPopup = new NCPkgPopupTree( wpos( 1, 1 ), this ); - } - + // create the search popup searchPopup = new NCPkgPopupSearch( wpos( 1, 1 ), this ); @@ -2764,7 +2763,7 @@ // add the media nr text += NCPkgNames::MediaNo(); char num[5]; - int medianr = package->sourceMediaNr (); + int medianr = package->mediaNr (); sprintf( num, "%d", medianr ); text += num; text += "<br>"; -- 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