Merge branch 'master' of ssh://forge.chapril.org:222/Monito/monito

This commit is contained in:
Benjamin Drieu 2022-03-22 22:20:15 +01:00 committed by Benjamin Drieu
commit 146ffe7b09
4 changed files with 5 additions and 3 deletions

View File

@ -410,6 +410,7 @@ class Indicator extends PanelMenu.Button {
this.boxes['warning'].set_text ( '…' );
this.boxes['critical'].set_text ( '…' );
this.boxes['unknown'].set_text ( '…' );
this.stopChildSpin ( this._reloadButton );
return;
}
@ -525,6 +526,7 @@ class Indicator extends PanelMenu.Button {
this.stopChildSpin ( this._reloadButton );
monitoLog ( 'RefreshUI done' );
return;
}

View File

@ -3,6 +3,6 @@
"description": "Checks for various monitoring servers (Icinga & Icinga2 at the moment)",
"uuid": "monito@drieu.org",
"shell-version": [
"3.38"
"40"
]
}

View File

@ -97,7 +97,7 @@ function buildPrefsWidget() {
let mainWidget = new Gtk.Notebook( { } );
let prefsWidget = new Gtk.Grid({
margin: 18,
// margin: 18,
column_spacing: 12,
row_spacing: 12,
column_homogeneous: false,

View File

@ -121,7 +121,7 @@ class GenericServer {
if ( message.status_code != Soup.Status.OK )
{
log ( '>>> Error: ' + message.reason_phrase );
log ( '>>> Data: ' + message.data );
//log ( '>>> Data: ' + message.data );
// TODO: add pref for that
// Main.notifyError ( 'Monito: ' + this.name,
// 'URL: ' + this.urlcgi + "\n" +