[gnome-software: 17/18] gs-shell: Hide the back button by default




commit 46c8aa42fcfec878d80f71535b8b7355e3e914fa
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Apr 14 14:19:38 2021 +0100

    gs-shell: Hide the back button by default
    
    It shouldn’t be visible until the user explicitly navigates in the UI,
    once the UI has finished loading.
    
    See
    https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/682#note_1081675.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-shell.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-shell.ui b/src/gs-shell.ui
index c50bbeec8..2d9817be1 100644
--- a/src/gs-shell.ui
+++ b/src/gs-shell.ui
@@ -124,7 +124,7 @@
                 <property name="show-close-button">True</property>
                 <child>
                   <object class="GtkButton" id="button_back">
-                    <property name="visible">True</property>
+                    <property name="visible">False</property>
                     <property name="can_focus">True</property>
                     <signal name="clicked" handler="gs_shell_back_button_cb"/>
                     <child internal-child="accessible">


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