[gnome-shell/wip/carlosg/osk-widgetry-fixes: 1/3] keyboard: Do not set the initial page on construction



commit 7cbb716015354c11660e26489c0649595d31f20b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jan 21 16:33:28 2020 +0100

    keyboard: Do not set the initial page on construction
    
    It is already scheduled to be set on first map. Doing so here triggers
    size and theme node checks the actor tree is not ready for, as the
    toplevel actor is not yet attached to the stage.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/943

 js/ui/keyboard.js | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 1db2a43392..d4df7b26a6 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -934,7 +934,6 @@ var EmojiSelection = GObject.registerClass({
         this.add_child(bottomRow);
 
         this._curPage = 0;
-        this._emojiPager.setCurrentPage(0);
     }
 
     vfunc_map() {


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