[gnome-documents/wip/lokdocview-rebase: 18/29] Use the same type of transition in lokview as in preview



commit 36ca656a28f13e756b9c01df8198be0660f860cd
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Dec 6 15:35:02 2015 +0100

    Use the same type of transition in lokview as in preview

 src/lokview.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/lokview.js b/src/lokview.js
index 88dc6f9..c7806da 100644
--- a/src/lokview.js
+++ b/src/lokview.js
@@ -95,7 +95,8 @@ const LOKView = new Lang.Class({
     Extends: Gtk.Stack,
 
     _init: function(overlay) {
-        this.parent();
+        this.parent({ homogeneous: true,
+                      transition_type: Gtk.StackTransitionType.CROSSFADE });
 
         this._uri = null;
         this._overlay = overlay;


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