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



commit 00c6252f2ef3b1a43230019aeb012e457219d332
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 c641304..8724f85 100644
--- a/src/lokview.js
+++ b/src/lokview.js
@@ -92,7 +92,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]