[Debtags-commits] [svn] r1351 - debtags-edit/trunk/src
Enrico Zini
enrico at costa.debian.org
Fri Sep 9 17:24:01 UTC 2005
Author: enrico
Date: Fri Sep 9 17:24:00 2005
New Revision: 1351
Modified:
debtags-edit/trunk/src/FilterPanel.cc
Log:
Filter by status works
Modified: debtags-edit/trunk/src/FilterPanel.cc
==============================================================================
--- debtags-edit/trunk/src/FilterPanel.cc (original)
+++ debtags-edit/trunk/src/FilterPanel.cc Fri Sep 9 17:24:00 2005
@@ -670,6 +670,15 @@
p = p and predicate::Factory<Package>::maintainer(maint_f);
if (!tags_f.empty())
p = p and predicate::Factory<Package>::tag(tags_f);
+ switch (statusFilter.get_history())
+ {
+ case 1:
+ p = p and predicate::Factory<Package>::member(&Package::isInstalled);
+ break;
+ case 2:
+ p = p and not predicate::Factory<Package>::member(&Package::isInstalled);
+ break;
+ }
switch (specialID)
{
More information about the Debtags-commits
mailing list