Author: damoxc

Revision: 5018

Log:
        add buttons to the form

Diff:
Modified: trunk/deluge/ui/web/js/deluge-add.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-add.js        2009-04-06 19:46:30 UTC (rev 
5017)
+++ trunk/deluge/ui/web/js/deluge-add.js        2009-04-06 20:04:54 UTC (rev 
5018)
@@ -344,7 +344,6 @@
                                        border: false,
                                        labelWidth: 10,
                                        defaultType: 'checkbox',
-                                       width: 190,
                                        items: [{
                                                fieldLabel: '',
                                                labelSeparator: '',
@@ -355,6 +354,14 @@
                                                labelSeparator: '',
                                                boxLabel: _('Prioritize 
First/Last Piece'),
                                                id: 'prioritize_first_last'
+                                       }, {
+                                               xtype: 'button',
+                                               text: _('Apply to All'),
+                                               style: 'margin-left: 20px; 
margin-top: 5px;'
+                                       }, {
+                                               xtype: 'button',
+                                               text: _('Revert to Defaults'),
+                                               style: 'margin-left: 20px; 
margin-top: 5px;'
                                        }]
                                }]
                        }]
@@ -402,7 +409,7 @@
         fieldLabel: _('File'),
         name: 'file',
                buttonCfg: {
-                       text: _('Browse...')
+                       text: _('Browse') + '...'
                }
     }]
 });
@@ -488,7 +495,7 @@
 
 Deluge.Add.Window = new Ext.Window({
        layout: 'border',
-    width: 460,
+    width: 500,
     height: 450,
     bodyStyle: 'padding: 10px 5px;',
     buttonAlign: 'right',



--~--~---------~--~----~------------~-------~--~----~
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