summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2013-05-11 16:15:17 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2013-05-12 00:15:15 +0100
commit7bd53903a425ec5d00b79d93d1d0edcdab779ee2 (patch)
tree5b46853f84583bf4e036378e59a20a970d9109ed /deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
parent8d63ce3ce524d141771dd850dd7217d0b73be13e (diff)
downloaddeluge-7bd53903a425ec5d00b79d93d1d0edcdab779ee2.tar.gz
deluge-7bd53903a425ec5d00b79d93d1d0edcdab779ee2.tar.bz2
deluge-7bd53903a425ec5d00b79d93d1d0edcdab779ee2.zip
Rearrange the Network tab in GTK and Web UIs
Also applied the suggestions in #2055 including removing 'Encrypt Entire Stream' and default it (prefer_rc4) to True
Diffstat (limited to 'deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js')
-rw-r--r--deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js22
1 files changed, 9 insertions, 13 deletions
diff --git a/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js b/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
index a259529d3..7c306ba27 100644
--- a/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
+++ b/deluge/ui/web/js/deluge-all/preferences/EncryptionPage.js
@@ -1,6 +1,6 @@
/*!
* Deluge.preferences.EncryptionPage.js
- *
+ *
* Copyright (c) Damien Churchill 2009-2010 <damoxc@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -39,12 +39,12 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
border: false,
title: _('Encryption'),
-
+
initComponent: function() {
Deluge.preferences.Encryption.superclass.initComponent.call(this);
var optMan = deluge.preferences.getOptionsManager();
-
+
var fieldset = this.add({
xtype: 'fieldset',
border: false,
@@ -54,7 +54,8 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
width: 300
});
optMan.bind('enc_in_policy', fieldset.add({
- fieldLabel: _('Inbound'),
+ fieldLabel: _('Incoming:'),
+ labelSeparator : '',
mode: 'local',
width: 150,
store: new Ext.data.ArrayStore({
@@ -71,7 +72,8 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
displayField: 'text'
}));
optMan.bind('enc_out_policy', fieldset.add({
- fieldLabel: _('Outbound'),
+ fieldLabel: _('Outgoing:'),
+ labelSeparator : '',
mode: 'local',
width: 150,
store: new Ext.data.SimpleStore({
@@ -88,7 +90,8 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
displayField: 'text'
}));
optMan.bind('enc_level', fieldset.add({
- fieldLabel: _('Level'),
+ fieldLabel: _('Level:'),
+ labelSeparator : '',
mode: 'local',
width: 150,
store: new Ext.data.SimpleStore({
@@ -104,12 +107,5 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
valueField: 'id',
displayField: 'text'
}));
- optMan.bind('enc_prefer_rc4', fieldset.add({
- xtype: 'checkbox',
- name: 'enc_prefer_rc4',
- height: 40,
- hideLabel: true,
- boxLabel: _('Encrypt entire stream')
- }));
}
});