[yast-commit] r58873 - in /trunk/qt-pkg: VERSION.cmake package/yast2-qt-pkg.changes src/YQPackageSelector.cc src/YQPkgDescriptionView.cc src/YQPkgDescriptionView.h
Author: tgoettlicher Date: Thu Oct 1 13:11:38 2009 New Revision: 58873 URL: http://svn.opensuse.org/viewcvs/yast?rev=58873&view=rev Log: fixed Bug 543176 - YaST2 cites 'supportability: unknown' for all packages Modified: trunk/qt-pkg/VERSION.cmake trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPackageSelector.cc trunk/qt-pkg/src/YQPkgDescriptionView.cc trunk/qt-pkg/src/YQPkgDescriptionView.h Modified: trunk/qt-pkg/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/VERSION.cmake?rev=58873&r1... ============================================================================== --- trunk/qt-pkg/VERSION.cmake (original) +++ trunk/qt-pkg/VERSION.cmake Thu Oct 1 13:11:38 2009 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "18") -SET(VERSION_PATCH "14") +SET(VERSION_PATCH "15") Modified: trunk/qt-pkg/package/yast2-qt-pkg.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/package/yast2-qt-pkg.chang... ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Thu Oct 1 13:11:38 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Oct 1 13:10:57 CEST 2009 - tgoettlicher@suse.de + +- fixed bnc #543176: YaST2 cites 'supportability: unknown' for all packages +- V 2.18.15 + +------------------------------------------------------------------- Mon Sep 28 11:36:14 CEST 2009 - tgoettlicher@suse.de - fixed bnc #532518: YaST in translation Modified: trunk/qt-pkg/src/YQPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPackageSelector.cc?r... ============================================================================== --- trunk/qt-pkg/src/YQPackageSelector.cc (original) +++ trunk/qt-pkg/src/YQPackageSelector.cc Thu Oct 1 13:11:38 2009 @@ -442,7 +442,7 @@ // Description // - _pkgDescriptionView = new YQPkgDescriptionView( _detailsViews ); + _pkgDescriptionView = new YQPkgDescriptionView( _detailsViews, confirmUnsupported() ); YUI_CHECK_NEW( _pkgDescriptionView ); _detailsViews->addTab( _pkgDescriptionView, _( "D&escription" ) ); Modified: trunk/qt-pkg/src/YQPkgDescriptionView.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgDescriptionView.c... ============================================================================== --- trunk/qt-pkg/src/YQPkgDescriptionView.cc (original) +++ trunk/qt-pkg/src/YQPkgDescriptionView.cc Thu Oct 1 13:11:38 2009 @@ -47,8 +47,9 @@ using std::string; using namespace zypp; -YQPkgDescriptionView::YQPkgDescriptionView( QWidget * parent ) - : YQPkgGenericDetailsView( parent ) +YQPkgDescriptionView::YQPkgDescriptionView( QWidget * parent, bool showSupportability ) + : YQPkgGenericDetailsView( parent ) + , _showSupportability ( showSupportability ) { //FIXME setMimeSourceFactory( 0 ); initLang(); @@ -103,7 +104,7 @@ // if it is a package, show the support information Package::constPtr package = asKind<Package>(selectable->theObj()); - if ( package ) + if ( _showSupportability && package ) { html_text += "<p>"; // Translators: %1 contains the support level like "Level 3", "unsupported" or "unknown" Modified: trunk/qt-pkg/src/YQPkgDescriptionView.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPkgDescriptionView.h... ============================================================================== --- trunk/qt-pkg/src/YQPkgDescriptionView.h (original) +++ trunk/qt-pkg/src/YQPkgDescriptionView.h Thu Oct 1 13:11:38 2009 @@ -40,7 +40,7 @@ /** * Constructor **/ - YQPkgDescriptionView( QWidget * parent ); + YQPkgDescriptionView( QWidget * parent, bool showSupportability = true ); /** * Destructor @@ -103,6 +103,7 @@ private: QString langWithCountry; QString lang; + bool _showSupportability; }; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn.opensuse.org