[evince/outline_search_improvements: 6/6] sidebar-links: disable GtkTreeView's builtin search
- From: Nelson Ben <nbenitez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/outline_search_improvements: 6/6] sidebar-links: disable GtkTreeView's builtin search
- Date: Sat, 25 Jun 2022 17:51:41 +0000 (UTC)
commit f05693bbb7619c883a910d879ff17cd855d4a819
Author: Nelson Benítez León <nbenitezl gmail com>
Date: Sat Jun 25 16:05:16 2022 +0100
sidebar-links: disable GtkTreeView's builtin search
Evince has its own Outline search which is better
suited than the one builtin in GtkTreeView, so let's
disable the one in GtkTreeView to avoid confusion.
shell/ev-sidebar-links.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index 7224af1a4..c10df47a9 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -1074,6 +1074,7 @@ ev_sidebar_links_construct (EvSidebarLinks *ev_sidebar_links)
gtk_tree_selection_set_mode (selection, GTK_SELECTION_NONE);
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (priv->tree_view), FALSE);
gtk_tree_view_set_tooltip_column (GTK_TREE_VIEW (priv->tree_view), 0);
+ gtk_tree_view_set_enable_search (GTK_TREE_VIEW (priv->tree_view), FALSE);
gtk_container_add (GTK_CONTAINER (swindow), priv->tree_view);
gtk_box_pack_start (GTK_BOX (ev_sidebar_links), swindow, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]