From ab7a0c4e6216bb941e2012f068bb9f3536868035 Mon Sep 17 00:00:00 2001 From: Simon Steinbeiss Date: Wed, 20 Jan 2021 08:53:11 +0100 Subject: [PATCH] Hide filter entry by default --- src/process-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/process-window.c b/src/process-window.c index 179f988..c086831 100644 --- a/src/process-window.c +++ b/src/process-window.c @@ -270,6 +270,7 @@ xtm_process_window_init (XtmProcessWindow *window) window->filter_searchbar = GTK_WIDGET (gtk_builder_get_object (window->builder, "filter-searchbar")); button = GTK_WIDGET (gtk_builder_get_object (window->builder, "button-show-filter")); + gtk_revealer_set_reveal_child (GTK_REVEALER (gtk_bin_get_child (GTK_BIN (window->filter_searchbar))), FALSE); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), gtk_revealer_get_reveal_child (GTK_REVEALER (gtk_bin_get_child (GTK_BIN (window->filter_searchbar))))); g_signal_connect (G_OBJECT (button), "toggled",