add mime icons to the white theme

couple of stubs in the add window
This commit is contained in:
Damien Churchill 2009-01-07 21:12:05 +00:00
parent c406ab4eaf
commit 366b5e1f95
3 changed files with 9 additions and 0 deletions

View File

@ -359,6 +359,11 @@ Deluge.Widgets.AddTorrent.OptionsTab = new Class({
},
onGetConfigSuccess: function(config) {
this.default_config = config;
this.setFormToDefault();
},
setFormToDefault: function() {
this.form.add_paused.checked = config['add_paused'];
$each(this.form.compact_allocation, function(el) {
if (el.value == config['compact_allocation'].toString()) {
@ -372,6 +377,10 @@ Deluge.Widgets.AddTorrent.OptionsTab = new Class({
$$W(this.form.max_upload_speed_per_torrent).setValue(config['max_upload_speed_per_torrent']);
$$W(this.form.max_connections_per_torrent).setValue(config['max_connections_per_torrent']);
$$W(this.form.max_upload_slots_per_torrent).setValue(config['max_upload_slots_per_torrent']);
},
setTorrent: function(torrent) {
}
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B