mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
add an ok icon and use it for the connection restored status
This commit is contained in:
parent
556c8b831a
commit
b13adbafbf
3 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
BIN
deluge/ui/web/icons/ok.png
Normal file
BIN
deluge/ui/web/icons/ok.png
Normal file
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…
Add table
Reference in a new issue