Author: lslezak Date: Tue Aug 2 20:02:57 2011 New Revision: 65152 URL: http://svn.opensuse.org/viewcvs/yast?rev=65152&view=rev Log: - added new ignoreAlreadyRecommended solver option to the options submenu (bnc#668588) - 2.22.1 Modified: trunk/gtk/VERSION trunk/gtk/package/yast2-gtk.changes trunk/gtk/src/pkg/ygtkpkgmenubar.cc Modified: trunk/gtk/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/VERSION?rev=65152&r1=65151&r2=65152&view=diff ============================================================================== --- trunk/gtk/VERSION (original) +++ trunk/gtk/VERSION Tue Aug 2 20:02:57 2011 @@ -1 +1 @@ -2.22.0 +2.22.1 Modified: trunk/gtk/package/yast2-gtk.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/package/yast2-gtk.changes?rev=65152&r1=65151&r2=65152&view=diff ============================================================================== --- trunk/gtk/package/yast2-gtk.changes (original) +++ trunk/gtk/package/yast2-gtk.changes Tue Aug 2 20:02:57 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.22.1 + +------------------------------------------------------------------- Sat Jul 30 13:33:00 WET 2011 - rpmcruz@alunos.dcc.fc.up.pt - 2.22.0 Modified: trunk/gtk/src/pkg/ygtkpkgmenubar.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/pkg/ygtkpkgmenubar.cc?rev=65152&r1=65151&r2=65152&view=diff ============================================================================== --- trunk/gtk/src/pkg/ygtkpkgmenubar.cc (original) +++ trunk/gtk/src/pkg/ygtkpkgmenubar.cc Tue Aug 2 20:02:57 2011 @@ -536,6 +536,19 @@ virtual void runtimeSync() {} }; +struct IgnoreAlreadyRecommendedCheckItem : public CheckMenuFlag { + IgnoreAlreadyRecommendedCheckItem (GtkWidget *menu, const char *text, Flags *flags) + : CheckMenuFlag (menu, text) { init (flags); } + virtual const char *variable() { return "ignore-already-recommended"; } + virtual bool getZyppValue() { + return zypp::getZYpp()->resolver()->ignoreAlreadyRecommended(); + } + virtual void setZyppValue (bool on) { + zypp::getZYpp()->resolver()->setIgnoreAlreadyRecommended(on); + } + virtual void runtimeSync() { Ypp::runSolver(); } +}; + #if ZYPP_VERSION > 6031004 struct CleanupDepsCheckItem : public CheckMenuFlag { @@ -726,6 +739,7 @@ // Translators: don't translate the "-debuginfo/-debugsource" part new ShowDebugCheckItem (submenu, _("Show -&debuginfo/-debugsource Packages"), &flags); new SystemVerificationCheckItem (submenu, _("&System Verification Mode"), &flags); + new IgnoreAlreadyRecommendedCheckItem (submenu, _("&Ignore recommended packages for already installed packages"), &flags); new CleanupDepsCheckItem (submenu, _("&Cleanup when deleting packages"), &flags); new AllowVendorChangeCheckItem (submenu, _("&Allow vendor change"), &flags); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org