--- deluge-all-debug.js.ORIG	2021-05-23 11:04:24.717103335 +0000
+++ deluge-all-debug.js	2021-05-28 09:53:38.742269077 +0000
@@ -640,6 +640,8 @@
             labelWidth: 1,
             fieldLabel: '',
             style: 'padding: 5px 0; margin-bottom: 0;',
+            disabled: true,
+            hidden: true,
         });
         this.optionsManager.bind(
             'download_location',
@@ -659,6 +661,8 @@
             labelWidth: 1,
             fieldLabel: '',
             style: 'padding: 5px 0; margin-bottom: 0;',
+            disabled: true,
+            hidden: true,
         });
         var field = fieldset.add({
             fieldLabel: '',
@@ -683,6 +687,7 @@
             width: 200,
             defaultType: 'spinnerfield',
             style: 'padding-right: 10px;',
+            disabled: true,
         });
         this.optionsManager.bind(
             'max_download_speed',
@@ -690,6 +695,7 @@
                 fieldLabel: _('Max Down Speed'),
                 name: 'max_download_speed',
                 width: 60,
+                disabled: true,
             })
         );
         this.optionsManager.bind(
@@ -698,6 +704,7 @@
                 fieldLabel: _('Max Up Speed'),
                 name: 'max_upload_speed',
                 width: 60,
+                disabled: true,
             })
         );
         this.optionsManager.bind(
@@ -706,6 +713,7 @@
                 fieldLabel: _('Max Connections'),
                 name: 'max_connections',
                 width: 60,
+                disabled: true,
             })
         );
         this.optionsManager.bind(
@@ -714,6 +722,7 @@
                 fieldLabel: _('Max Upload Slots'),
                 name: 'max_upload_slots',
                 width: 60,
+                disabled: true,
             })
         );
 
@@ -730,6 +739,7 @@
                 boxLabel: _('Add In Paused State'),
                 fieldLabel: '',
                 labelSeparator: '',
+                disabled: true,
             })
         );
         this.optionsManager.bind(
@@ -739,6 +749,7 @@
                 boxLabel: _('Prioritize First/Last Pieces'),
                 fieldLabel: '',
                 labelSeparator: '',
+                disabled: true,
             })
         );
         this.optionsManager.bind(
@@ -748,6 +759,7 @@
                 boxLabel: _('Sequential Download'),
                 fieldLabel: '',
                 labelSeparator: '',
+                disabled: true,
             })
         );
         this.optionsManager.bind(
@@ -757,6 +769,7 @@
                 boxLabel: _('Skip File Hash Check'),
                 fieldLabel: '',
                 labelSeparator: '',
+                disabled: true,
             })
         );
         this.optionsManager.bind(
@@ -766,6 +779,7 @@
                 boxLabel: _('Super Seed'),
                 fieldLabel: '',
                 labelSeparator: '',
+                disabled: true,
             })
         );
         this.optionsManager.bind(
@@ -775,6 +789,7 @@
                 boxLabel: _('Preallocate Disk Space'),
                 fieldLabel: '',
                 labelSeparator: '',
+                disabled: true,
             })
         );
     },
@@ -1153,7 +1168,7 @@
         this.add(new Deluge.details.DetailsTab());
         this.add(new Deluge.details.FilesTab());
         this.add(new Deluge.details.PeersTab());
-        this.add(new Deluge.details.OptionsTab());
+//        this.add(new Deluge.details.OptionsTab());
     },
 
     clear: function() {
@@ -1234,7 +1249,7 @@
         Deluge.details.DetailsTab.superclass.initComponent.call(this);
         this.addItem('torrent_name', _('Name:'));
         this.addItem('hash', _('Hash:'));
-        this.addItem('path', _('Download Folder:'));
+//        this.addItem('path', _('Download Folder:'));
         this.addItem('size', _('Total Size:'));
         this.addItem('files', _('Total Files:'));
         this.addItem('comment', _('Comment:'));
@@ -7461,217 +7476,6 @@
         },
         '-',
         {
-            text: _('Options'),
-            iconCls: 'icon-options',
-            hideOnClick: false,
-            menu: new Ext.menu.Menu({
-                items: [
-                    {
-                        text: _('D/L Speed Limit'),
-                        iconCls: 'x-deluge-downloading',
-                        hideOnClick: false,
-                        menu: new Ext.menu.Menu({
-                            items: [
-                                {
-                                    torrentAction: ['max_download_speed', 5],
-                                    text: _('5 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_download_speed', 10],
-                                    text: _('10 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_download_speed', 30],
-                                    text: _('30 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_download_speed', 80],
-                                    text: _('80 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_download_speed', 300],
-                                    text: _('300 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_download_speed', -1],
-                                    text: _('Unlimited'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                            ],
-                        }),
-                    },
-                    {
-                        text: _('U/L Speed Limit'),
-                        iconCls: 'x-deluge-seeding',
-                        hideOnClick: false,
-                        menu: new Ext.menu.Menu({
-                            items: [
-                                {
-                                    torrentAction: ['max_upload_speed', 5],
-                                    text: _('5 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_speed', 10],
-                                    text: _('10 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_speed', 30],
-                                    text: _('30 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_speed', 80],
-                                    text: _('80 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_speed', 300],
-                                    text: _('300 KiB/s'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_speed', -1],
-                                    text: _('Unlimited'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                            ],
-                        }),
-                    },
-                    {
-                        text: _('Connection Limit'),
-                        iconCls: 'x-deluge-connections',
-                        hideOnClick: false,
-                        menu: new Ext.menu.Menu({
-                            items: [
-                                {
-                                    torrentAction: ['max_connections', 50],
-                                    text: '50',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_connections', 100],
-                                    text: '100',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_connections', 200],
-                                    text: '200',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_connections', 300],
-                                    text: '300',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_connections', 500],
-                                    text: '500',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_connections', -1],
-                                    text: _('Unlimited'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                            ],
-                        }),
-                    },
-                    {
-                        text: _('Upload Slot Limit'),
-                        iconCls: 'icon-upload-slots',
-                        hideOnClick: false,
-                        menu: new Ext.menu.Menu({
-                            items: [
-                                {
-                                    torrentAction: ['max_upload_slots', 0],
-                                    text: '0',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_slots', 1],
-                                    text: '1',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_slots', 2],
-                                    text: '2',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_slots', 3],
-                                    text: '3',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_slots', 5],
-                                    text: '5',
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['max_upload_slots', -1],
-                                    text: _('Unlimited'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                            ],
-                        }),
-                    },
-                    {
-                        id: 'auto_managed',
-                        text: _('Auto Managed'),
-                        hideOnClick: false,
-                        menu: new Ext.menu.Menu({
-                            items: [
-                                {
-                                    torrentAction: ['auto_managed', true],
-                                    text: _('On'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                                {
-                                    torrentAction: ['auto_managed', false],
-                                    text: _('Off'),
-                                    handler: deluge.menus.onTorrentActionSetOpt,
-                                    scope: deluge.menus,
-                                },
-                            ],
-                        }),
-                    },
-                ],
-            }),
-        },
-        '-',
-        {
             text: _('Queue'),
             iconCls: 'icon-queue',
             hideOnClick: false,
@@ -7739,13 +7543,6 @@
             handler: deluge.menus.onTorrentActionMethod,
             scope: deluge.menus,
         },
-        {
-            torrentAction: 'move',
-            text: _('Move Download Folder'),
-            iconCls: 'icon-move',
-            handler: deluge.menus.onTorrentActionShow,
-            scope: deluge.menus,
-        },
     ],
 });
 
@@ -8535,56 +8332,6 @@
                 cls: 'x-btn-text-icon',
                 iconCls: 'x-deluge-connections',
                 tooltip: _('Connections'),
-                menu: new Deluge.StatusbarMenu({
-                    items: [
-                        {
-                            text: '50',
-                            value: '50',
-                            group: 'max_connections_global',
-                            checked: false,
-                        },
-                        {
-                            text: '100',
-                            value: '100',
-                            group: 'max_connections_global',
-                            checked: false,
-                        },
-                        {
-                            text: '200',
-                            value: '200',
-                            group: 'max_connections_global',
-                            checked: false,
-                        },
-                        {
-                            text: '300',
-                            value: '300',
-                            group: 'max_connections_global',
-                            checked: false,
-                        },
-                        {
-                            text: '500',
-                            value: '500',
-                            group: 'max_connections_global',
-                            checked: false,
-                        },
-                        {
-                            text: _('Unlimited'),
-                            value: '-1',
-                            group: 'max_connections_global',
-                            checked: false,
-                        },
-                        '-',
-                        {
-                            text: _('Other'),
-                            value: 'other',
-                            group: 'max_connections_global',
-                            checked: false,
-                        },
-                    ],
-                    otherWin: {
-                        title: _('Set Maximum Connections'),
-                    },
-                }),
             },
             '-',
             {
@@ -8593,57 +8340,6 @@
                 cls: 'x-btn-text-icon',
                 iconCls: 'x-deluge-downloading',
                 tooltip: _('Download Speed'),
-                menu: new Deluge.StatusbarMenu({
-                    items: [
-                        {
-                            value: '5',
-                            text: _('5 KiB/s'),
-                            group: 'max_download_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '10',
-                            text: _('10 KiB/s'),
-                            group: 'max_download_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '30',
-                            text: _('30 KiB/s'),
-                            group: 'max_download_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '80',
-                            text: _('80 KiB/s'),
-                            group: 'max_download_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '300',
-                            text: _('300 KiB/s'),
-                            group: 'max_download_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '-1',
-                            text: _('Unlimited'),
-                            group: 'max_download_speed',
-                            checked: false,
-                        },
-                        '-',
-                        {
-                            value: 'other',
-                            text: _('Other'),
-                            group: 'max_download_speed',
-                            checked: false,
-                        },
-                    ],
-                    otherWin: {
-                        title: _('Set Maximum Download Speed'),
-                        unit: _('KiB/s'),
-                    },
-                }),
             },
             '-',
             {
@@ -8652,57 +8348,6 @@
                 cls: 'x-btn-text-icon',
                 iconCls: 'x-deluge-seeding',
                 tooltip: _('Upload Speed'),
-                menu: new Deluge.StatusbarMenu({
-                    items: [
-                        {
-                            value: '5',
-                            text: _('5 KiB/s'),
-                            group: 'max_upload_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '10',
-                            text: _('10 KiB/s'),
-                            group: 'max_upload_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '30',
-                            text: _('30 KiB/s'),
-                            group: 'max_upload_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '80',
-                            text: _('80 KiB/s'),
-                            group: 'max_upload_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '300',
-                            text: _('300 KiB/s'),
-                            group: 'max_upload_speed',
-                            checked: false,
-                        },
-                        {
-                            value: '-1',
-                            text: _('Unlimited'),
-                            group: 'max_upload_speed',
-                            checked: false,
-                        },
-                        '-',
-                        {
-                            value: 'other',
-                            text: _('Other'),
-                            group: 'max_upload_speed',
-                            checked: false,
-                        },
-                    ],
-                    otherWin: {
-                        title: _('Set Maximum Upload Speed'),
-                        unit: _('KiB/s'),
-                    },
-                }),
             },
             '-',
             {
@@ -8711,10 +8356,6 @@
                 cls: 'x-btn-text-icon',
                 iconCls: 'x-deluge-traffic',
                 tooltip: _('Protocol Traffic Download/Upload'),
-                handler: function() {
-                    deluge.preferences.show();
-                    deluge.preferences.selectPage('Network');
-                },
             },
             '-',
             {
@@ -8738,10 +8379,8 @@
                 cls: 'x-btn-text-icon',
                 iconCls: 'x-deluge-freespace',
                 tooltip: _('Freespace in download folder'),
-                handler: function() {
-                    deluge.preferences.show();
-                    deluge.preferences.selectPage('Downloads');
-                },
+                disabled: true,
+                hidden: true,
             }
         );
         this.created = true;
@@ -8938,6 +8577,7 @@
                         iconCls: 'icon-down',
                         handler: this.onTorrentAction,
                     },
+/**
                     new Ext.Toolbar.Separator(),
                     {
                         id: 'preferences',
@@ -8953,6 +8593,7 @@
                         handler: this.onConnectionManagerClick,
                         scope: this,
                     },
+*/
                     '->',
                     {
                         id: 'help',
