[gnome-shell] dateMenu: Relayout IndicatorPad when parent size changes
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] dateMenu: Relayout IndicatorPad when parent size changes
- Date: Fri, 1 Mar 2019 18:08:36 +0000 (UTC)
commit 4a4f75245960f43a2936c3687a1a78f0354a7c26
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date: Sat Sep 2 04:04:22 2017 +0200
dateMenu: Relayout IndicatorPad when parent size changes
This happens often in resource-scaled world
https://bugzilla.gnome.org/show_bug.cgi?id=765011
js/ui/dateMenu.js | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index c29d33719..697d6fbc8 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -379,6 +379,7 @@ class IndicatorPad extends St.Widget {
_init(actor) {
this._source = actor;
this._source.connect('notify::visible', () => { this.queue_relayout(); });
+ this._source.connect('notify::size', () => { this.queue_relayout(); });
super._init();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]