[polari/wip/fmuellner/combined-gsoc: 11/136] roomStack: Delay mapping RoomView until shown



commit 0e120931d6bfc13020240b32ce8d021c6a1c9599
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat May 21 00:10:32 2016 +0200

    roomStack: Delay mapping RoomView until shown

 src/roomStack.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/roomStack.js b/src/roomStack.js
index 80d161d..5f95204 100644
--- a/src/roomStack.js
+++ b/src/roomStack.js
@@ -123,6 +123,10 @@ const RoomView = new Lang.Class({
     _init: function(room, sizeGroup) {
         this.parent({ orientation: Gtk.Orientation.VERTICAL });
 
+        // Delay mapping until shown, see
+        // https://bugzilla.gnome.org/show_bug.cgi?id=766737
+        this.set_child_visible(false);
+
         this._view = new ChatView.ChatView(room);
         this.add(this._view);
 


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