fix it so the file icon is set using css rather than hard coded
This commit is contained in:
parent
a32b43b414
commit
a2640a8a32
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}));
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue