Module: deluge
Branch: master
Commit: 7a115622df1cbd32369da89336df992e079914df

Author: Damien Churchill <[email protected]>
Date:   Tue Mar 16 23:44:38 2010 +0000

add "All" to the list of filters for tracker hosts

---

 deluge/core/filtermanager.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py
index fcb5e96..1538dfd 100644
--- a/deluge/core/filtermanager.py
+++ b/deluge/core/filtermanager.py
@@ -196,6 +196,8 @@ class FilterManager(component.Component):
                 value = status[field]
                 items[field][value] = items[field].get(value, 0) + 1
 
+        items["tracker_host"]["All"] = len(torrent_ids)
+
         if "tracker_host" in items:
             items["tracker_host"]["Error"] = 
len(tracker_error_filter(torrent_ids, ("Error",)))
 

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to