[gnome-software: 1/2] shell: Connect the search entry to the search bar
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] shell: Connect the search entry to the search bar
- Date: Wed, 23 Jun 2021 06:36:11 +0000 (UTC)
commit a78c1ec832d546dc217cb6702dc21cfdceec4cb0
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Jun 23 07:54:53 2021 +0200
shell: Connect the search entry to the search bar
This needs to be done manually since the search entry isn't the direct
child of the search bar anymore.
src/gs-shell.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 07de31596..c7ffe7f25 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -2491,6 +2491,8 @@ gs_shell_init (GsShell *shell)
{
gtk_widget_init_template (GTK_WIDGET (shell));
+ hdy_search_bar_connect_entry (HDY_SEARCH_BAR (shell->search_bar), GTK_ENTRY (shell->entry_search));
+
shell->back_entry_stack = g_queue_new ();
shell->modal_dialogs = g_ptr_array_new_with_free_func ((GDestroyNotify) gtk_widget_destroy);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]