Mailinglist Archive: yast-commit (1161 mails)

< Previous Next >
[yast-commit] r46064 - in /trunk/pkg-bindings/src: ProvideProcess.cc Resolvable_Properties.cc
  • From: coolo@xxxxxxxxxxxxxxxx
  • Date: Thu, 03 Apr 2008 19:05:16 -0000
  • Message-id: <20080403190517.13B383410E@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Thu Apr 3 21:05:16 2008
New Revision: 46064

URL: http://svn.opensuse.org/viewcvs/yast?rev=46064&view=rev
Log:
commit Schubi's patch

Modified:
trunk/pkg-bindings/src/ProvideProcess.cc
trunk/pkg-bindings/src/Resolvable_Properties.cc

Modified: trunk/pkg-bindings/src/ProvideProcess.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/ProvideProcess.cc?rev=46064&r1=46063&r2=46064&view=diff
==============================================================================
--- trunk/pkg-bindings/src/ProvideProcess.cc (original)
+++ trunk/pkg-bindings/src/ProvideProcess.cc Thu Apr 3 21:05:16 2008
@@ -54,7 +54,7 @@
}

if (!provider.status().isInstalled()
- && (!onlyNeeded || provider.status().isNeeded()) ) // take only needed
items (e.G. needed patches)
+ && (!onlyNeeded || provider.isBroken()) ) // take only needed items
(e.G. needed patches)
{
// deselect the item if it's already selected,
// only one item should be selected

Modified: trunk/pkg-bindings/src/Resolvable_Properties.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Resolvable_Properties.cc?rev=46064&r1=46063&r2=46064&view=diff
==============================================================================
--- trunk/pkg-bindings/src/Resolvable_Properties.cc (original)
+++ trunk/pkg-bindings/src/Resolvable_Properties.cc Thu Apr 3 21:05:16 2008
@@ -293,7 +293,7 @@
info->add(YCPString("interactive"),
YCPBoolean(patch_ptr->interactive()));
info->add(YCPString("reboot_needed"),
YCPBoolean(patch_ptr->reboot_needed()));
info->add(YCPString("affects_pkg_manager"),
YCPBoolean(patch_ptr->affects_pkg_manager()));
- info->add(YCPString("is_needed"),
YCPBoolean(it->status().isNeeded()));
+ info->add(YCPString("is_broken"),
YCPBoolean(it->isBroken()));
}

// dependency info

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages