Module: deluge Branch: master Commit: f08e5176c39c5febb2432127d77c855b2eeb53ee
Author: Andrew Resch <[email protected]> Date: Sat May 8 20:06:15 2010 -0700 Do not request a tracker icon if the host is "" --- deluge/ui/gtkui/filtertreeview.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/gtkui/filtertreeview.py b/deluge/ui/gtkui/filtertreeview.py index c63a505..b5e531e 100644 --- a/deluge/ui/gtkui/filtertreeview.py +++ b/deluge/ui/gtkui/filtertreeview.py @@ -210,7 +210,7 @@ class FilterTreeView(component.Component): row = self.treestore.append(self.cat_nodes[cat],[cat, value, label, count , pix, True]) self.filters[(cat, value)] = row - if cat == "tracker_host" and value not in ("All", "Error"): + if cat == "tracker_host" and value not in ("All", "Error") and value: d = self.tracker_icons.get(value) d.addCallback(on_get_icon) -- 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.
