fix it so the file icon is set using css rather than hard coded

This commit is contained in:
Damien Churchill 2009-03-30 23:35:11 +00:00
parent a32b43b414
commit a2640a8a32
3 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ input {
background: url('/icons/16/error.png') no-repeat 2px;
}
.x-deluge-file {
.x-tree-node-leaf .x-deluge-file {
background-image: url('/icons/16/document.png');
}

View File

@ -62,7 +62,7 @@ Deluge.Add = {
size: fsize(item[0]),
leaf: true,
checked: item[1],
icon: '/icons/16/document.png',
iconCls: 'x-deluge-add-file',
uiProvider: Ext.tree.ColumnNodeUI
}));
}

View File

@ -228,7 +228,7 @@ Deluge.Details.Files = {
size: fsize(item[0]),
progress: item[1],
leaf: true,
icon: '/icons/16/document.png',
iconCls: 'x-deluge-file',
uiProvider: Ext.tree.ColumnNodeUI
});
parent.appendChild(child);