[devhelp/wip/swilmet/various-code-improvements: 6/12] sidebar: no need to set the search column



commit d39633a5ce27be086326bd1580d270a1ce163d8c
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756341

 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]