Module: deluge
Branch: master
Commit: f08c0e053c25084b4851e046de0db5f45679d1b1

Author: Damien Churchill <[email protected]>
Date:   Sat Mar 20 13:35:21 2010 +0000

tidy up doc strings and change InstallPlugin to InstallPluginWindow

---

 .../js/deluge-all/Deluge.Preferences.Bandwidth.js  |    5 +++++
 .../web/js/deluge-all/Deluge.Preferences.Cache.js  |    5 +++++
 .../web/js/deluge-all/Deluge.Preferences.Daemon.js |    5 +++++
 .../js/deluge-all/Deluge.Preferences.Downloads.js  |    5 +++++
 .../js/deluge-all/Deluge.Preferences.Encryption.js |    5 +++++
 .../js/deluge-all/Deluge.Preferences.Interface.js  |    5 +++++
 .../js/deluge-all/Deluge.Preferences.Network.js    |    4 ++++
 .../web/js/deluge-all/Deluge.Preferences.Other.js  |    5 +++++
 .../js/deluge-all/Deluge.Preferences.Plugins.js    |   17 ++++++++++++-----
 .../web/js/deluge-all/Deluge.Preferences.Proxy.js  |   10 +++++++++-
 .../web/js/deluge-all/Deluge.Preferences.Queue.js  |    5 +++++
 deluge/ui/web/js/deluge-all/Deluge.Preferences.js  |   10 +++++++---
 12 files changed, 72 insertions(+), 9 deletions(-)

diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Bandwidth.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Bandwidth.js
index 76015f1..2c8a76d 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Bandwidth.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Bandwidth.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.Bandwidth
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Bandwidth = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Cache.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Cache.js
index bf78682..f464fc4 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Cache.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Cache.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.Cache
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Daemon.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Daemon.js
index ac945bc..ca5654c 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Daemon.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Daemon.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.Daemon
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Daemon = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Downloads.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Downloads.js
index 16d89c0..0d83f4c 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Downloads.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Downloads.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.Downloads
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Encryption.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Encryption.js
index 8ae5576..bed23e9 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Encryption.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Encryption.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.Encryption
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Interface.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Interface.js
index 9b7e1d1..e30ff4a 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Interface.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Interface.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.Interface
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Interface = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Network.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Network.js
index f45307c..520075d 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Network.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Network.js
@@ -33,6 +33,10 @@ Copyright:
 
 Ext.namespace('Deluge.preferences');
 
+/**
+ * @class Deluge.preferences.Network
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Other.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Other.js
index b51b09d..ff43681 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Other.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Other.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.Other
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Other = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Plugins.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Plugins.js
index ade7da9..66568ae 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Plugins.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Plugins.js
@@ -33,7 +33,11 @@ Copyright:
 
 Ext.namespace('Deluge.preferences');
 
-Deluge.preferences.InstallPlugin = Ext.extend(Ext.Window, {
+/**
+ * @class Deluge.preferences.InstallPluginWindow
+ * @extends Ext.Window
+ */
+Deluge.preferences.InstallPluginWindow = Ext.extend(Ext.Window, {
 
        height: 115,
        width: 350,
@@ -104,8 +108,11 @@ Deluge.preferences.InstallPlugin = Ext.extend(Ext.Window, {
                }
        }
 });
-       
 
+/**
+ * @class Deluge.preferences.Plugins
+ * @extends Ext.Panel
+ */
 Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
        constructor: function(config) {
                config = Ext.apply({
@@ -184,7 +191,7 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
                                        cls: 'x-btn-text-icon',
                                        iconCls: 'x-deluge-install-plugin',
                                        text: _('Install'),
-                                       handler: this.onInstallPlugin,
+                                       handler: this.onInstallPluginWindow,
                                        scope: this
                                }, '->', {
                                        cls: 'x-btn-text-icon',
@@ -288,9 +295,9 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
                delete info;
        },
 
-       onInstallPlugin: function() {
+       onInstallPluginWindow: function() {
                if (!this.installWindow) {
-                       this.installWindow = new 
Deluge.preferences.InstallPlugin();
+                       this.installWindow = new 
Deluge.preferences.InstallPluginWindow();
                        this.installWindow.on('pluginadded', 
this.onPluginInstall, this);
                }
                this.installWindow.show();
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Proxy.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Proxy.js
index 48cd29c..dd555e1 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Proxy.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Proxy.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.ProxyField
+ * @extends Ext.form.FormSet
+ */
 Deluge.preferences.ProxyField = Ext.extend(Ext.form.FieldSet, {
 
        constructor: function(config) {
@@ -165,7 +170,10 @@ Deluge.preferences.ProxyField = 
Ext.extend(Ext.form.FieldSet, {
        }
 });
 
-
+/**
+ * @class Deluge.preferences.Proxy
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Proxy = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Queue.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Queue.js
index 3a8487b..901b41f 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.Queue.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.Queue.js
@@ -32,6 +32,11 @@ Copyright:
 */
 
 Ext.namespace('Deluge.preferences');
+
+/**
+ * @class Deluge.preferences.Queue
+ * @extends Ext.form.FormPanel
+ */
 Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
        constructor: function(config) {
                config = Ext.apply({
diff --git a/deluge/ui/web/js/deluge-all/Deluge.Preferences.js 
b/deluge/ui/web/js/deluge-all/Deluge.Preferences.js
index 02b30da..5524544 100644
--- a/deluge/ui/web/js/deluge-all/Deluge.Preferences.js
+++ b/deluge/ui/web/js/deluge-all/Deluge.Preferences.js
@@ -34,7 +34,11 @@ Copyright:
 
 PreferencesRecord = Ext.data.Record.create([{name:'name', type:'string'}]);
 
-Deluge.PreferencesWindow = Ext.extend(Ext.Window, {
+/**
+ * @class Deluge.preferences.PreferencesWindow
+ * @extends Ext.Window
+ */
+Deluge.preferences.PreferencesWindow = Ext.extend(Ext.Window, {
 
        /**
         * @property {String} currentPage The currently selected page.
@@ -54,7 +58,7 @@ Deluge.PreferencesWindow = Ext.extend(Ext.Window, {
        resizable: false,
 
        initComponent: function() {
-               Deluge.PreferencesWindow.superclass.initComponent.call(this);
+               
Deluge.preferences.PreferencesWindow.superclass.initComponent.call(this);
 
                this.categoriesGrid = this.add({
                        xtype: 'grid',
@@ -206,4 +210,4 @@ Deluge.PreferencesWindow = Ext.extend(Ext.Window, {
                this.hide();
        }
 });
-deluge.preferences = new Deluge.PreferencesWindow();
+deluge.preferences = new Deluge.preferences.PreferencesWindow();

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to