mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +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'),
|
title: _('Remove Torrent'),
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
width: 350,
|
width: 350,
|
||||||
height: 90,
|
height: 100,
|
||||||
buttonAlign: 'right',
|
buttonAlign: 'right',
|
||||||
closeAction: 'hide',
|
closeAction: 'hide',
|
||||||
closable: true,
|
closable: true,
|
||||||
|
@ -51,13 +51,13 @@ Ext.deluge.RemoveWindow = Ext.extend(Ext.Window, {
|
||||||
initComponent: function() {
|
initComponent: function() {
|
||||||
Ext.deluge.RemoveWindow.superclass.initComponent.call(this);
|
Ext.deluge.RemoveWindow.superclass.initComponent.call(this);
|
||||||
this.addButton(_('Cancel'), this.onCancel, 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({
|
this.add({
|
||||||
border: false,
|
border: false,
|
||||||
bodyStyle: 'padding: 5px;',
|
bodyStyle: 'padding: 5px; padding-left: 10px;',
|
||||||
html: '<span>Are you sure you wish to remove the torrent(s)?</span>'
|
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
Add a link
Reference in a new issue