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



commit e9c6f19f94cc0f477dcdc873b7effb0d80ff5112
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 4e775ef6aa..7ee7cac87c 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]