[evince/wip/cdavis/no-search-close-button] window: Don't show close button on searchbar




commit 1c4f23226a72ffbc3078f865870a465c44b74533
Author: Christopher Davis <christopherdavis gnome org>
Date:   Sat Feb 13 03:48:51 2021 -0800

    window: Don't show close button on searchbar
    
    Evince already uses a toggle button to show/hide the
    search bar. No other app uses both the toggle button
    pattern and the close button.

 shell/ev-window.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 34eaea52..ba282e18 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -7484,7 +7484,6 @@ ev_window_init (EvWindow *ev_window)
 
        /* Search Bar */
        priv->search_bar = gtk_search_bar_new ();
-       gtk_search_bar_set_show_close_button (GTK_SEARCH_BAR (priv->search_bar), TRUE);
 
        priv->search_box = ev_search_box_new (priv->model);
        search_entry = GTK_ENTRY (ev_search_box_get_entry (EV_SEARCH_BOX (priv->search_box)));


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