[gnome-shell/gbsneto/reload-on-pages-changed: 1/2] appDisplay: Redisplay on layout changes




commit 18d663015516e41c2aad7fed88b65252981bd626
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Sep 1 15:49:16 2020 -0300

    appDisplay: Redisplay on layout changes
    
    This was an overlook from e1ea1d29540c3fc8f2346fbc481f784c17fd0e56.
    
    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

 js/ui/appDisplay.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index daaf746933..99b772a524 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -888,6 +888,7 @@ class AppDisplay extends BaseAppView {
         });
 
         this._pageManager = new PageManager();
+        this._pageManager.connect('layout-changed', () => this._relayout());
 
         this._scrollView.add_style_class_name('all-apps');
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]