dateMenu: Relayout IndicatorPad when parent size changes

This happens often in resource-scaled world

https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
Marco Trevisan (Treviño) 2017-09-02 04:04:22 +02:00 committed by Jonas Ådahl
parent 8f1fff1374
commit 4a4f752459

View File

@ -379,6 +379,7 @@ class IndicatorPad extends St.Widget {
_init(actor) { _init(actor) {
this._source = actor; this._source = actor;
this._source.connect('notify::visible', () => { this.queue_relayout(); }); this._source.connect('notify::visible', () => { this.queue_relayout(); });
this._source.connect('notify::size', () => { this.queue_relayout(); });
super._init(); super._init();
} }