[devhelp/wip/swilmet/various-code-improvements] sidebar: no need to set the search column
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp/wip/swilmet/various-code-improvements] sidebar: no need to set the search column
- Date: Fri, 9 Oct 2015 17:00:51 +0000 (UTC)
commit 74b8e87ad5dca6429e01fae1fb81a228ef1ef7be
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Oct 9 18:43:44 2015 +0200
sidebar: no need to set the search column
Because the search is disabled. After the code re-organization, it's
much clearer.
src/dh-sidebar.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-sidebar.c b/src/dh-sidebar.c
index 7fe357d..ca17909 100644
--- a/src/dh-sidebar.c
+++ b/src/dh-sidebar.c
@@ -519,7 +519,6 @@ dh_sidebar_init (DhSidebar *sidebar)
gtk_tree_view_set_model (priv->hitlist_view, GTK_TREE_MODEL (priv->hitlist_model));
gtk_tree_view_set_headers_visible (priv->hitlist_view, FALSE);
gtk_tree_view_set_enable_search (priv->hitlist_view, FALSE);
- gtk_tree_view_set_search_column (priv->hitlist_view, DH_KEYWORD_MODEL_COL_NAME);
gtk_widget_show (GTK_WIDGET (priv->hitlist_view));
g_signal_connect (priv->hitlist_view, "button-press-event",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]