anjuta r3895 - in trunk: . plugins/symbol-db
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3895 - in trunk: . plugins/symbol-db
- Date: Tue, 29 Apr 2008 22:28:09 +0100 (BST)
Author: jhs
Date: Tue Apr 29 21:28:08 2008
New Revision: 3895
URL: http://svn.gnome.org/viewvc/anjuta?rev=3895&view=rev
Log:
2008-04-28 Massimo Cora\' <maxcvs email it>
* plugins/symbol-db/symbol-db-view-search.c
(sdb_view_search_model_filter):
fixed search symbols to match \"foo_symbol_%\"
Modified:
trunk/ChangeLog
trunk/plugins/symbol-db/symbol-db-view-search.c
Modified: trunk/plugins/symbol-db/symbol-db-view-search.c
==============================================================================
--- trunk/plugins/symbol-db/symbol-db-view-search.c (original)
+++ trunk/plugins/symbol-db/symbol-db-view-search.c Tue Apr 29 21:28:08 2008
@@ -112,9 +112,14 @@
if (strlen (string))
{
+ gchar *pattern;
+ pattern = g_strdup_printf ("%s%%", string);
+
iterator = symbol_db_engine_find_symbol_by_name_pattern (priv->sdbe,
- string, SYMINFO_SIMPLE| SYMINFO_FILE_PATH |
+ pattern, SYMINFO_SIMPLE| SYMINFO_FILE_PATH |
SYMINFO_ACCESS | SYMINFO_KIND);
+ g_free (pattern);
+
if (iterator)
{
GList *completion_list;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]