[gitg] Use sliding transition to/from the dash



commit f2409db675129625af939907134e3ac4f77508e4
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Mar 16 19:05:18 2013 +0100

    Use sliding transition to/from the dash

 gitg/gitg-window.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index 6f4fb64..21d281f 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -102,6 +102,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable, Gtk.
                                title = "(%s) - gitg".printf(workdir.get_parse_name());
                        }
 
+                       d_main_stack.transition_type = Gd.StackTransitionType.SLIDE_LEFT;
                        d_main_stack.set_visible_child(d_paned_views);
                        d_commit_view_switcher.show();
                        d_button_dash.show();
@@ -112,6 +113,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable, Gtk.
                {
                        title = "gitg";
 
+                       d_main_stack.transition_type = Gd.StackTransitionType.SLIDE_RIGHT;
                        d_main_stack.set_visible_child(d_dash_scrolled_window);
                        d_commit_view_switcher.hide();
                        d_button_dash.hide();


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