Author: lslezak Date: Tue Aug 2 19:53:06 2011 New Revision: 65149 URL: http://svn.opensuse.org/viewcvs/yast?rev=65149&view=rev Log: - added new ignoreAlreadyRecommended solver option to the options submenu (bnc#668588) - 2.21.5 Modified: trunk/qt-pkg/VERSION.cmake trunk/qt-pkg/package/yast2-qt-pkg.changes trunk/qt-pkg/src/YQPackageSelector.cc trunk/qt-pkg/src/YQPackageSelector.h Modified: trunk/qt-pkg/VERSION.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/VERSION.cmake?rev=65149&r1=65148&r2=65149&view=diff ============================================================================== --- trunk/qt-pkg/VERSION.cmake (original) +++ trunk/qt-pkg/VERSION.cmake Tue Aug 2 19:53:06 2011 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "21") -SET(VERSION_PATCH "4") +SET(VERSION_PATCH "5") 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=65149&r1=65148&r2=65149&view=diff ============================================================================== --- trunk/qt-pkg/package/yast2-qt-pkg.changes (original) +++ trunk/qt-pkg/package/yast2-qt-pkg.changes Tue Aug 2 19:53:06 2011 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Aug 2 17:32:01 UTC 2011 - lslezak@suse.cz + +- added new ignoreAlreadyRecommended solver option to the options + submenu (bnc#668588) +- 2.21.5 + +------------------------------------------------------------------- Thu Jun 30 13:09:17 CEST 2011 - tgoettlicher@suse.de - Fixed theme/color palette handling (bnc #637294) Modified: trunk/qt-pkg/src/YQPackageSelector.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPackageSelector.cc?rev=65149&r1=65148&r2=65149&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPackageSelector.cc (original) +++ trunk/qt-pkg/src/YQPackageSelector.cc Tue Aug 2 19:53:06 2011 @@ -816,6 +816,10 @@ _verifySystemModeAction->setChecked( zypp::getZYpp()->resolver()->systemVerification() ); + _ignoreAlreadyRecommendAction = _optionsMenu->addAction( _( "&Ignore Recommended Packages for Already Installed Packages" ), + this, SLOT( pkgIgnoreAlreadyRecommendedChanged( bool ) ) ); + _ignoreAlreadyRecommendAction->setCheckable(true); + _ignoreAlreadyRecommendAction->setChecked( zypp::getZYpp()->resolver()->ignoreAlreadyRecommended() ); _cleanDepsOnRemoveAction = _optionsMenu->addAction( _( "&Cleanup when deleting packages" ), @@ -1556,6 +1560,11 @@ zypp::getZYpp()->resolver()->setSystemVerification( on ); } +void +YQPackageSelector::pkgIgnoreAlreadyRecommendedChanged( bool on ) +{ + zypp::getZYpp()->resolver()->setIgnoreAlreadyRecommended( on ); +} void YQPackageSelector::pkgCleanDepsOnRemoveChanged( bool on ) Modified: trunk/qt-pkg/src/YQPackageSelector.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-pkg/src/YQPackageSelector.h?rev=65149&r1=65148&r2=65149&view=diff ============================================================================== --- trunk/qt-pkg/src/YQPackageSelector.h (original) +++ trunk/qt-pkg/src/YQPackageSelector.h Tue Aug 2 19:53:06 2011 @@ -154,6 +154,10 @@ */ void pkgVerifySytemModeChanged( bool on ); + /* + * Ignore recommended packages for already installed packages + */ + void pkgIgnoreAlreadyRecommendedChanged( bool on ); /* * Enable or disable CleandepsOnRemove of the solver (=Cleanup when deleting packages) @@ -379,6 +383,7 @@ QAction *_showDevelAction; QAction *_showDebugAction; QAction *_verifySystemModeAction; + QAction *_ignoreAlreadyRecommendAction; QAction *_cleanDepsOnRemoveAction; QAction *_allowVendorChangeAction; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org