mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
swap the order of the buttons in the remove window
This commit is contained in:
parent
1c318504cf
commit
cffce4a706
2 changed files with 7 additions and 7 deletions
|
@ -38,7 +38,7 @@ Ext.deluge.RemoveWindow = Ext.extend(Ext.Window, {
|
|||
title: _('Remove Torrent'),
|
||||
layout: 'fit',
|
||||
width: 350,
|
||||
height: 90,
|
||||
height: 100,
|
||||
buttonAlign: 'right',
|
||||
closeAction: 'hide',
|
||||
closable: true,
|
||||
|
@ -51,13 +51,13 @@ Ext.deluge.RemoveWindow = Ext.extend(Ext.Window, {
|
|||
initComponent: function() {
|
||||
Ext.deluge.RemoveWindow.superclass.initComponent.call(this);
|
||||
this.addButton(_('Cancel'), this.onCancel, this);
|
||||
this.addButton(_('Remove'), this.onRemove, this);
|
||||
this.addButton(_('Remove with data'), this.onRemoveData, this);
|
||||
this.addButton(_('Remove With Data'), this.onRemoveData, this);
|
||||
this.addButton(_('Remove Torrent'), this.onRemove, this);
|
||||
|
||||
this.add({
|
||||
border: false,
|
||||
bodyStyle: 'padding: 5px;',
|
||||
html: '<span>Are you sure you wish to remove the torrent(s)?</span>'
|
||||
bodyStyle: 'padding: 5px; padding-left: 10px;',
|
||||
html: 'Are you sure you wish to remove the torrent(s)?'
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -99,4 +99,4 @@ Ext.deluge.RemoveWindow = Ext.extend(Ext.Window, {
|
|||
}
|
||||
});
|
||||
|
||||
Deluge.RemoveWindow = new Ext.deluge.RemoveWindow();
|
||||
Deluge.RemoveWindow = new Ext.deluge.RemoveWindow();
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue