disable the move storage menu item, this won't be active until the remote file browser has been added

add decimal precision to the spinner strategy (although it doesn't seem to be working?)
This commit is contained in:
Damien Churchill 2009-06-05 07:19:47 +00:00
commit db36e9dbfa
3 changed files with 5 additions and 4 deletions

View file

@ -267,7 +267,8 @@ Ext.deluge.details.OptionsTab = Ext.extend(Ext.form.FormPanel, {
stragegy: new Ext.ux.form.Spinner.NumberStrategy({ stragegy: new Ext.ux.form.Spinner.NumberStrategy({
minValue: -1, minValue: -1,
maxValue: 99999, maxValue: 99999,
incrementValue: 1 incrementValue: 1,
decimalPrecision: 1
}), }),
listeners: { listeners: {
'spin': { 'spin': {

View file

@ -239,12 +239,12 @@ Deluge.Menus.Torrent = new Ext.menu.Menu({
icon: '/icons/recheck.png', icon: '/icons/recheck.png',
handler: Deluge.Menus.onTorrentAction, handler: Deluge.Menus.onTorrentAction,
scope: Deluge.Menus scope: Deluge.Menus
}, { /*}, {
id: 'move', id: 'move',
text: _('Move Storage'), text: _('Move Storage'),
icon: '/icons/move.png', icon: '/icons/move.png',
handler: Deluge.Menus.onTorrentAction, handler: Deluge.Menus.onTorrentAction,
scope: Deluge.Menus scope: Deluge.Menus*/
}] }]
}); });

File diff suppressed because one or more lines are too long