rename the messagebox classes as they are clashing with the state ones

This commit is contained in:
Damien Churchill 2009-03-20 19:08:40 +00:00
commit 0f44b06197
4 changed files with 5 additions and 6 deletions

View file

@ -163,10 +163,10 @@ input {
} }
/* MessageBox icon styles */ /* MessageBox icon styles */
.x-deluge-warning { .x-deluge-icon-warning {
background: url('/icons/16/warning.png') no-repeat 2px; background: url('/icons/16/warning.png') no-repeat 2px;
} }
.x-deluge-error { .x-deluge-icon-error {
background: url('/icons/16/error.png') no-repeat 2px; background: url('/icons/16/error.png') no-repeat 2px;
} }

View file

@ -343,8 +343,7 @@ Deluge.SideBar = {
}, },
renderer: function(value, p, r) { renderer: function(value, p, r) {
var lname = value.toLowerCase(); var lname = value.toLowerCase().replace('.', '_');
lname = lname.replace('.', '_');
var image = ''; var image = '';
if (r.store.id == 'tracker_host') { if (r.store.id == 'tracker_host') {

View file

@ -84,7 +84,7 @@ Deluge.Connections = {
buttons: Ext.MessageBox.OK, buttons: Ext.MessageBox.OK,
modal: false, modal: false,
icon: Ext.MessageBox.ERROR, icon: Ext.MessageBox.ERROR,
iconCls: 'x-deluge-error' iconCls: 'x-deluge-icon-error'
}); });
} }
} }

View file

@ -38,7 +38,7 @@ Deluge.Login = {
buttons: Ext.MessageBox.OK, buttons: Ext.MessageBox.OK,
modal: false, modal: false,
icon: Ext.MessageBox.WARNING, icon: Ext.MessageBox.WARNING,
iconCls: 'x-deluge-warning' iconCls: 'x-deluge-icon-warning'
}); });
} }
} }