[gnome-characters] window, characterList: Set stack transition type



commit dd97a11ad58846af3fadb7dac18a2e6b4b4ca865
Author: Daiki Ueno <dueno src gnome org>
Date:   Mon Mar 2 12:21:21 2015 +0900

    window, characterList: Set stack transition type

 src/characterList.js |    5 ++++-
 src/window.js        |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/characterList.js b/src/characterList.js
index 8085a2f..6aa8425 100644
--- a/src/characterList.js
+++ b/src/characterList.js
@@ -242,7 +242,10 @@ const CharacterListView = new Lang.Class({
     },
 
     _init: function(params) {
-        params = Params.fill(params, { hexpand: true, vexpand: true });
+        params = Params.fill(params, {
+            hexpand: true, vexpand: true,
+            transition_type: Gtk.StackTransitionType.CROSSFADE
+        });
         this.parent(params);
 
         Main.settings.bind('font', this, 'font', Gio.SettingsBindFlags.DEFAULT);
diff --git a/src/window.js b/src/window.js
index b94fdb9..31caf72 100644
--- a/src/window.js
+++ b/src/window.js
@@ -244,7 +244,10 @@ const MainView = new Lang.Class({
     },
 
     _init: function(params) {
-        params = Params.fill(params, { hexpand: true, vexpand: true });
+        params = Params.fill(params, {
+            hexpand: true, vexpand: true,
+            transition_type: Gtk.StackTransitionType.CROSSFADE
+        });
         this.parent(params);
 
         this._characterLists = {};


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