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



commit 119d99d65f6ffc88f2f8430436b2caefee564abf
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 3c92261..0790f81 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]