add dynamic tracker host icons
This commit is contained in:
parent
08fd7a14f9
commit
f5482d6a92
|
@ -264,6 +264,10 @@ Deluge.Widgets.LabelSection = new Class({
|
|||
el.addEvent('click', this.bound.clicked);
|
||||
this.list.grab(el);
|
||||
}
|
||||
if (this.name == 'tracker_host') {
|
||||
var icon = 'url(http://' + name + '/favicon.ico)';
|
||||
el.setStyle('background-image', icon);
|
||||
};
|
||||
el.set('text', name + ' (' + count +')');
|
||||
}, this);
|
||||
|
||||
|
|
Loading…
Reference in New Issue