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
This commit is contained in:
Carlos Garnacho 2020-01-21 16:33:28 +01:00 committed by Florian Müllner
parent e15d8eeb17
commit 1ef7306149

View File

@ -935,7 +935,6 @@ var EmojiSelection = GObject.registerClass({
this.add_child(bottomRow); this.add_child(bottomRow);
this._curPage = 0; this._curPage = 0;
this._emojiPager.setCurrentPage(0);
} }
vfunc_map() { vfunc_map() {