Mailinglist Archive: yast-commit (1166 mails)

< Previous Next >
[yast-commit] r46070 - in /trunk/ncurses-pkg: package/yast2-ncurses-pkg.changes src/NCPackageSelector.cc
  • From: coolo@xxxxxxxxxxxxxxxx
  • Date: Thu, 03 Apr 2008 21:08:34 -0000
  • Message-id: <20080403210834.C99F934129@xxxxxxxxxxxxxxxx>
Author: coolo
Date: Thu Apr 3 23:08:34 2008
New Revision: 46070

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

Modified:
trunk/ncurses-pkg/package/yast2-ncurses-pkg.changes
trunk/ncurses-pkg/src/NCPackageSelector.cc

Modified: trunk/ncurses-pkg/package/yast2-ncurses-pkg.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/package/yast2-ncurses-pkg.changes?rev=46070&r1=46069&r2=46070&view=diff
==============================================================================
--- trunk/ncurses-pkg/package/yast2-ncurses-pkg.changes (original)
+++ trunk/ncurses-pkg/package/yast2-ncurses-pkg.changes Thu Apr 3 23:08:34 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Thu Apr 3 23:08:18 CEST 2008 - coolo@xxxxxxx
+
+- adapt to latest libzypp
+
+-------------------------------------------------------------------
Tue Apr 1 11:02:21 CEST 2008 - jsrain@xxxxxxx

- fixed textdomain

Modified: trunk/ncurses-pkg/src/NCPackageSelector.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses-pkg/src/NCPackageSelector.cc?rev=46070&r1=46069&r2=46070&view=diff
==============================================================================
--- trunk/ncurses-pkg/src/NCPackageSelector.cc (original)
+++ trunk/ncurses-pkg/src/NCPackageSelector.cc Thu Apr 3 23:08:34 2008
@@ -659,7 +659,7 @@
if ( selectable->hasInstalledObj() ) // patch installed?
{
// display only if broken
- if ( selectable->installedPoolItem().status().isIncomplete() )
+ if ( selectable->installedPoolItem().isBroken() )
{
displayPatch = true;
yuiWarning() << "Installed patch is broken: " <<
patchPtr->name().c_str() << " - "
@@ -670,7 +670,7 @@

{
if (selectable->hasCandidateObj() &&
- selectable->candidatePoolItem().status().isSatisfied() )
+ selectable->candidatePoolItem().isSatisfied() )
{
//patch not installed, but it is satisfied (updated to the
version patch requires)
//all that is missing are patch metadata, so let's display the
patch
@@ -688,7 +688,8 @@
// isSatisfied(): all packages are installed, therefore the
isNeeded() flag
// isn't set. BUT the patch meta data aren't installed and
therefore it makes
// sense to install the patch
- if ( selectable->candidatePoolItem().status().isNeeded())
+ if ( selectable->candidatePoolItem().status().isInstalled()
+ && selectable->candidatePoolItem().isBroken())
{
displayPatch = true;
}
@@ -1397,7 +1398,7 @@
descr += "<br>";

if ( selectable->hasInstalledObj()
- && selectable->installedPoolItem().status().isIncomplete() )
+ && selectable->installedPoolItem().isBroken() )
{
descr += _( "----- this patch is broken !!! -----" );
descr += "<br>";

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

< Previous Next >
This Thread
  • No further messages