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



commit f7133d932dd9308e3c91f9e7e2b68b982accec08
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]