[baobab] Use the new slide transition



commit 1b26b0fa712c3a45dbc8d596cdce4fb8d551c293
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Mar 3 15:33:41 2013 +0100

    Use the new slide transition

 src/baobab-window.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index 6700941..ce2e5e5 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -497,10 +497,12 @@ namespace Baobab {
             if (child == home_page) {
                 var action = lookup_action ("reload") as SimpleAction;
                 action.set_enabled (false);
+                main_stack.transition_type = Gd.StackTransitionType.SLIDE_RIGHT;
             } else {
                 var action = lookup_action ("reload") as SimpleAction;
                 action.set_enabled (true);
                 result_header_bar.set_title (active_location.name);
+                main_stack.transition_type = Gd.StackTransitionType.SLIDE_LEFT;
             }
 
             main_stack.visible_child = child;


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