add the save path column to the grid

This commit is contained in:
Damien Churchill 2010-04-25 21:28:07 +01:00
parent 342001c642
commit c3290b4ac2
2 changed files with 9 additions and 2 deletions

View File

@ -48,7 +48,7 @@ Deluge.Keys = {
'queue', 'name', 'total_size', 'state', 'progress', 'num_seeds',
'total_seeds', 'num_peers', 'total_peers', 'download_payload_rate',
'upload_payload_rate', 'eta', 'ratio', 'distributed_copies',
'is_auto_managed', 'time_added', 'tracker_host'
'is_auto_managed', 'time_added', 'tracker_host', 'save_path'
],
/**

View File

@ -113,7 +113,8 @@
{name: 'ratio', type: 'float'},
{name: 'distributed_copies', type: 'float'},
{name: 'time_added', type: 'int'},
{name: 'tracker_host'}
{name: 'tracker_host'},
{name: 'save_path'}
]
}),
columns: [{
@ -196,6 +197,12 @@
sortable: true,
renderer: trackerRenderer,
dataIndex: 'tracker_host'
}, {
header: _('Save Path'),
width: 120,
sortable: true,
renderer: fplain,
dataIndex: 'save_path'
}],
region: 'center',
cls: 'deluge-torrents',