[gnome-software: 6/18] gs-shell: Show the search button on the installed apps page too




commit fa2439222193c42e3db23518296d15de4e9dc6ab
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Jan 27 12:54:24 2021 +0000

    gs-shell: Show the search button on the installed apps page too
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1111

 src/gs-shell.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 344f6247b..bf6af0628 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -441,7 +441,8 @@ stack_notify_visible_child_cb (GObject    *object,
        g_signal_handlers_block_by_func (shell->search_button, search_button_clicked_cb, shell);
        gtk_widget_set_visible (shell->search_button,
                                mode == GS_SHELL_MODE_OVERVIEW ||
-                               mode == GS_SHELL_MODE_SEARCH);
+                               mode == GS_SHELL_MODE_SEARCH ||
+                               mode == GS_SHELL_MODE_INSTALLED);
        /* hide unless we're going to search */
        gtk_search_bar_set_search_mode (GTK_SEARCH_BAR (shell->search_bar),
                                        mode == GS_SHELL_MODE_SEARCH);


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