[gnome-builder/gnome-builder-3-18] symbol-tree: no need to clear search when reloading
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] symbol-tree: no need to clear search when reloading
- Date: Tue, 13 Oct 2015 07:41:51 +0000 (UTC)
commit 94f7a33e93cbc6cb855d0f80e8f00274afa0f3b9
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 12 22:24:32 2015 -0400
symbol-tree: no need to clear search when reloading
We can preserve the filter in the gbtree, only need to clear it when we
change views.
plugins/symbol-tree/symbol-tree.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/symbol-tree/symbol-tree.c b/plugins/symbol-tree/symbol-tree.c
index 2d9ec6d..348e853 100644
--- a/plugins/symbol-tree/symbol-tree.c
+++ b/plugins/symbol-tree/symbol-tree.c
@@ -92,9 +92,6 @@ get_cached_symbol_tree_cb (GObject *object,
refresh_tree_timeout,
self);
- gb_tree_set_filter (self->tree, NULL, NULL, NULL);
- gtk_entry_set_text (GTK_ENTRY (self->search_entry), "");
-
root = g_object_new (GB_TYPE_TREE_NODE,
"item", symbol_tree,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]