[anjuta] libanjuta: Mark correct search column in libanjuta



commit ae6ecbc9bed7ed4db9c402584e243c5666104244
Author: Johannes Schmid <jhs gnome org>
Date:   Sun Mar 20 12:42:06 2011 -0400

    libanjuta: Mark correct search column in libanjuta

 libanjuta/anjuta-pkg-config-chooser.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libanjuta/anjuta-pkg-config-chooser.c b/libanjuta/anjuta-pkg-config-chooser.c
index 782bdd3..e9159a9 100644
--- a/libanjuta/anjuta-pkg-config-chooser.c
+++ b/libanjuta/anjuta-pkg-config-chooser.c
@@ -222,6 +222,9 @@ anjuta_pkg_config_chooser_init (AnjutaPkgConfigChooser *chooser)
 	                                                   NULL);
 	gtk_tree_view_append_column (GTK_TREE_VIEW (chooser), column);
 	gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (chooser), FALSE);
+
+	gtk_tree_view_set_search_column (GTK_TREE_VIEW (chooser),
+					 COLUMN_NAME);
 	
 	/* Create launcher */
 	chooser->priv->scanning = TRUE;
@@ -453,4 +456,4 @@ anjuta_pkg_config_chooser_get_selected_package (AnjutaPkgConfigChooser* chooser)
 		return package;
 	}
 	return NULL;
-}
\ No newline at end of file
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]