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



commit 48f7fb8404d1df420a7e5a8c72de09ad6e4730d7
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.

 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]