_relayout() {
/* assume 110x110 on a 640x480 display and scale from there */
let monitor = Main.layoutManager.monitors[this._monitorIndex];
if (!monitor)
return; // we are about to be removed
let scalew = monitor.width / 640.0;
let scaleh = monitor.height / 480.0;
let scale = Math.min(scalew, scaleh);
let popupSize = 110 * Math.max(1, scale);
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor; this._icon.icon_size = popupSize / (2 * scaleFactor);
# ^^^^^^^^^^^ This is the St.Icon the error talks about this._box.translation_y = Math.round(monitor.height / 4); this._boxConstraint.minSize = popupSize;
}
OK. FYI here is the offending source code:
_relayout() { ger.monitors[ this._monitorIn dex];
/* assume 110x110 on a 640x480 display and scale from there */
let monitor = Main.layoutMana
if (!monitor)
return; // we are about to be removed
let scalew = monitor.width / 640.0;
let scaleh = monitor.height / 480.0;
let scale = Math.min(scalew, scaleh);
let popupSize = 110 * Math.max(1, scale);
let scaleFactor = St.ThemeContext .get_for_ stage(global. stage). scale_factor;
this._ icon.icon_ size = popupSize / (2 * scaleFactor);
this._ box.translation _y = Math.round( monitor. height / 4);
this._ boxConstraint. minSize = popupSize;
# ^^^^^^^^^^^ This is the St.Icon the error talks about
}