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



commit 1ef73061492ec27241fc3e99c56a4c8c42259595
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 7e7cee21b6..7f7e8a4e5c 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -935,7 +935,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]