Author: coolo Date: Thu Apr 3 23:03:59 2008 New Revision: 46069 URL: http://svn.opensuse.org/viewcvs/yast?rev=46069&view=rev Log: commit schubi's patch Modified: trunk/gtk/src/yzyppwrapper.cc Modified: trunk/gtk/src/yzyppwrapper.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/yzyppwrapper.cc?rev=46069&r1=46068&r2=46069&view=diff ============================================================================== --- trunk/gtk/src/yzyppwrapper.cc (original) +++ trunk/gtk/src/yzyppwrapper.cc Thu Apr 3 23:03:59 2008 @@ -517,7 +517,7 @@ if (impl->type == Ypp::Package::PATCH_TYPE) { if (impl->zyppSel->hasInstalledObj()) { // broken? show as available - if (impl->zyppSel->installedPoolItem().status().isIncomplete()) + if (impl->zyppSel->installedPoolItem().isBroken()) return false; } } @@ -1568,7 +1568,7 @@ if (!patch) continue; if (!(*it)->hasInstalledObj()) - if (!(*it)->hasCandidateObj() || !(*it)->candidatePoolItem().status().isNeeded()) + if (!(*it)->hasCandidateObj() || !(*it)->candidatePoolItem().isBroken()) continue; category = addCategory (type, patch->category()); break; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org