Author: dmacvicar Date: Tue May 13 18:08:17 2008 New Revision: 47503 URL: http://svn.opensuse.org/viewcvs/yast?rev=47503&view=rev Log: - show satisfied non packages as installed selectables (bnc#380356) Modified: trunk/qt-pkg/VERSION.cmake trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPkgPatchList.cc trunk/qt-pkg/src/YQPkgPatternList.cc Modified: trunk/qt-pkg/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/VERSION.cmake?rev=47503&r1=47502&r2=47503&view=diff ============================================================================== --- trunk/qt-pkg/VERSION.cmake (original) +++ trunk/qt-pkg/VERSION.cmake Tue May 13 18:08:17 2008 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "16") -SET(VERSION_PATCH "40") +SET(VERSION_PATCH "41") Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.changes?rev=47503&r1=47502&r2=47503&view=diff ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Tue May 13 18:08:17 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue May 13 18:03:12 CEST 2008 - dmacvicar@suse.de + +- show satisfied non packages as installed selectables + (bnc#380356) +- 2.16.41 + +------------------------------------------------------------------- Wed Apr 30 15:21:09 CEST 2008 - lslezak@suse.cz - display "Repository" menu only when requested by `opt(`repoMgr) Modified: trunk/qt-pkg/src/YQPkgPatchList.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgPatchList.cc?rev=47503&r1=47502&r2=47503&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgPatchList.cc (original) +++ trunk/qt-pkg/src/YQPkgPatchList.cc Tue May 13 18:08:17 2008 @@ -99,8 +99,8 @@ // Can use the same colum for "broken" and "satisfied": // Both states are mutually exclusive - _satisfiedIconCol = _summaryCol; - _brokenIconCol = _summaryCol; + _satisfiedIconCol = -42; + _brokenIconCol = -42; setHeaderLabels(headers); setIndentation(0); Modified: trunk/qt-pkg/src/YQPkgPatternList.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgPatternList.cc?rev=47503&r1=47502&r2=47503&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPkgPatternList.cc (original) +++ trunk/qt-pkg/src/YQPkgPatternList.cc Tue May 13 18:08:17 2008 @@ -151,7 +151,6 @@ int numCol = 0; QStringList headers; //headers << ""; - headers << ""; _iconCol = numCol++; headers << ""; _statusCol = numCol++; // Translators: "Pattern" refers to so-called "installation patterns", @@ -161,7 +160,9 @@ // configuring the web server. For the scope of the package selector, this // is only of little relevance, though. + headers << ""; _iconCol = numCol++; headers << _( "Pattern" ); _summaryCol = numCol++; + //headers << ""; _howmanyCol = numCol++; setColumnCount( numCol ); @@ -177,8 +178,8 @@ // Can use the same colum for "broken" and "satisfied": // Both states are mutually exclusive - _satisfiedIconCol = _summaryCol; - _brokenIconCol = _summaryCol; + _satisfiedIconCol = -42; + _brokenIconCol = -42; // header()->setStretchEnabled( _statusCol , false ); // header()->setStretchEnabled( _summaryCol, true ); @@ -389,7 +390,7 @@ { if ( button == Qt::LeftButton ) { - if ( col == iconCol() ) + if ( col == 0 ) { categoryItem->setExpanded( ! categoryItem->isExpanded() ); } @@ -572,7 +573,7 @@ void YQPkgPatternCategoryItem::setTreeIcon() { - setIcon( _patternList->iconCol(), + setIcon( 0, isExpanded() ? YQIconPool::treeMinus() : YQIconPool::treePlus() ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org