appDisplay: Redisplay on layout changes

This was an overlook from e1ea1d2954.

We never connected to the 'layout-changed' signal, which means
changing the GSettings externally wouldn't trigger a redisplay.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1428
This commit is contained in:
Georges Basile Stavracas Neto 2020-09-01 15:49:16 -03:00
parent f7886ac695
commit f1bc87bf6d

View File

@ -888,6 +888,7 @@ class AppDisplay extends BaseAppView {
}); });
this._pageManager = new PageManager(); this._pageManager = new PageManager();
this._pageManager.connect('layout-changed', () => this._redisplay());
this._scrollView.add_style_class_name('all-apps'); this._scrollView.add_style_class_name('all-apps');