add an ok icon and use it for the connection restored status
This commit is contained in:
parent
556c8b831a
commit
b13adbafbf
|
@ -379,6 +379,10 @@ dl.singleline dd {
|
|||
background-image: url('../icons/home.png') !important;
|
||||
}
|
||||
|
||||
.icon-ok {
|
||||
background-image: url('../icons/ok.png') !important;
|
||||
}
|
||||
|
||||
.icon-error {
|
||||
background-image: url('../icons/error.png') !important;
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 905 B |
|
@ -142,7 +142,10 @@ deluge.ui = {
|
|||
icon: Ext.MessageBox.ERROR
|
||||
});
|
||||
deluge.events.fire('disconnect');
|
||||
deluge.statusbar.setStatus('Lost connection to webserver');
|
||||
deluge.statusbar.setStatus({
|
||||
iconCls: 'icon-ok',
|
||||
text: 'Lost connection to webserver'}
|
||||
);
|
||||
this.checking = setInterval(this.checkConnection, 2000);
|
||||
}
|
||||
this.errorCount++;
|
||||
|
|
Loading…
Reference in New Issue