Module: deluge
Branch: master
Commit: 97d6f8ce807ab5a59f792eef100ec8d5435a780a

Author: John Garland <[email protected]>
Date:   Sun May  9 16:43:22 2010 +1000

Return the noIcon for empty strings as well

---

 deluge/ui/tracker_icons.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/tracker_icons.py b/deluge/ui/tracker_icons.py
index 1fb062e..c4f2835 100644
--- a/deluge/ui/tracker_icons.py
+++ b/deluge/ui/tracker_icons.py
@@ -150,6 +150,7 @@ class TrackerIcons(Component):
             self.icons[None] = TrackerIcon(noIcon)
         else:
             self.icons[None] = None
+        self.icons[''] = self.icons[None]
 
         self.pending = {}
         self.redirects = {}

-- 
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