From 1429b87da7ac6f0333a1a796773f9c739bbcf4d0 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 30 Jul 2009 23:49:05 +0000 Subject: [PATCH] disable all the textfields that should have accompanying checkboxes --- deluge/ui/web/js/Deluge.Preferences.Downloads.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/deluge/ui/web/js/Deluge.Preferences.Downloads.js b/deluge/ui/web/js/Deluge.Preferences.Downloads.js index a1ddce6df..b18c1313e 100644 --- a/deluge/ui/web/js/Deluge.Preferences.Downloads.js +++ b/deluge/ui/web/js/Deluge.Preferences.Downloads.js @@ -17,24 +17,32 @@ xtype: 'fieldset', border: false, title: _('Folders'), - labelWidth: 140, + labelWidth: 150, defaultType: 'textfield', autoHeight: true }); optMan.bind('download_location', fieldset.add({ name: 'download_location', fieldLabel: _('Download to'), - width: 160 + width: 150 })); optMan.bind('move_completed_path', fieldset.add({ name: 'move_completed_path', fieldLabel: _('Move completed to'), - width: 160 + width: 150, + disabled: true })); optMan.bind('torrentfiles_location', fieldset.add({ name: 'torrentfiles_location', fieldLabel: _('Copy of .torrent files to'), - width: 160 + width: 150, + disabled: true + })); + optMan.bind('autoadd_location', fieldset.add({ + name: 'autoadd_location', + fieldLabel: _('Auto add .torrent files from'), + width: 150, + disabled: true })); fieldset = this.add({