From f18ad7e6635bd5c961999032f1b748cd745bda39 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Fri, 29 Jul 2022 23:45:07 -0400 Subject: toolbar: Use GtkRevealer for sidebar button Since we don't need to deal with the automatic spacing from GtkHeaderBar, we can take advantage of GtkRevealer to get a smooth transition for the button's visibility. This also gets rid of a flicker and warning from GTK. --- src/resources/ui/nautilus-toolbar.ui | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/resources/ui') diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui index b5f150f08..9e4bf64e8 100644 --- a/src/resources/ui/nautilus-toolbar.ui +++ b/src/resources/ui/nautilus-toolbar.ui @@ -120,11 +120,16 @@ - - - - Show sidebar - sidebar-show-symbolic + + + slide-right + + + + Show sidebar + sidebar-show-symbolic + + -- cgit v1.2.1