From 6e7f42e0a60659411f2e10dbf8e84c705f0498a4 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 10 Jul 2009 14:42:53 -0400 Subject: Use an EShellSettings property for folder tree search. --- mail/em-folder-tree.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'mail/em-folder-tree.c') diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 96c2e13b3e..1c35699452 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -888,11 +888,9 @@ folder_tree_new (EMFolderTree *emft) GtkTreeViewColumn *column; GtkCellRenderer *renderer; GtkWidget *tree; - gboolean side_bar_search; GConfClient *gconf; gconf = mail_config_get_gconf_client (); - side_bar_search = gconf_client_get_bool (gconf, "/apps/evolution/mail/display/side_bar_search", NULL); /* FIXME[KILL-BONOBO] Gross hack */ tree = GTK_WIDGET (emft); @@ -923,7 +921,6 @@ folder_tree_new (EMFolderTree *emft) gtk_tree_view_set_headers_visible ((GtkTreeView *) tree, FALSE); gtk_tree_view_set_search_column((GtkTreeView *)tree, COL_STRING_DISPLAY_NAME); - gtk_tree_view_set_enable_search((GtkTreeView *)tree, side_bar_search); return (GtkTreeView *) tree; } -- cgit