anjuta r3888 - in trunk: . plugins/symbol-db
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3888 - in trunk: . plugins/symbol-db
- Date: Sun, 27 Apr 2008 23:25:32 +0100 (BST)
Author: jhs
Date: Sun Apr 27 22:25:32 2008
New Revision: 3888
URL: http://svn.gnome.org/viewvc/anjuta?rev=3888&view=rev
Log:
2008-04-28 Johannes Schmid <jhs gnome org>
* plugins/symbol-db/plugin.c:
Hide progress bar when things are done.
2008-04-27 Massimo Cora\' <maxcvs email it>
* plugins/symbol-db/symbol-db-engine.c
(symbol_db_engine_find_symbol_by_name_pattern),
(symbol_db_engine_find_symbol_by_name_pattern_filtered):
fixed typo on query.
Modified:
trunk/ChangeLog
trunk/plugins/symbol-db/plugin.c
trunk/plugins/symbol-db/symbol-db-engine.c
Modified: trunk/plugins/symbol-db/plugin.c
==============================================================================
--- trunk/plugins/symbol-db/plugin.c (original)
+++ trunk/plugins/symbol-db/plugin.c Sun Apr 27 22:25:32 2008
@@ -1083,12 +1083,13 @@
}
gtk_progress_bar_set_text (GTK_PROGRESS_BAR (sdb_plugin->progress_bar),
_("Populating symbols' db..."));
- id = g_timeout_add (100, (GSourceFunc) gtk_progress_bar_pulse, sdb_plugin->progress_bar);
+ id = g_idle_add ((GSourceFunc) gtk_progress_bar_pulse, sdb_plugin->progress_bar);
gtk_widget_show (sdb_plugin->progress_bar);
symbol_db_view_open (SYMBOL_DB_VIEW (sdb_plugin->dbv_view_tree),
sdb_plugin->sdbe_project);
g_source_remove (id);
+ gtk_widget_hide (sdb_plugin->progress_bar);
/* root dir */
sdb_plugin->project_root_dir = root_dir;
Modified: trunk/plugins/symbol-db/symbol-db-engine.c
==============================================================================
--- trunk/plugins/symbol-db/symbol-db-engine.c (original)
+++ trunk/plugins/symbol-db/symbol-db-engine.c Sun Apr 27 22:25:32 2008
@@ -6376,7 +6376,7 @@
g_mutex_unlock (priv->mutex);
return NULL;
}
-
+
if (other_parameters & DYN_GET_SCOPE_MEMBERS_BY_SYMBOL_ID_FILTERED_EXTRA_PAR_LIMIT)
{
GValue *value;
@@ -7152,7 +7152,7 @@
/* fill info_data and join data with optional sql */
sdb_engine_prepare_symbol_info_sql (dbe, info_data, join_data, sym_info);
- query_str = g_strdup_printf ("SELECT symbol.symbol_id, symbol.name, "
+ query_str = g_strdup_printf ("SELECT symbol.symbol_id AS symbol_id, "
"symbol.name AS name, symbol.file_position AS file_position, "
"symbol.is_file_scope AS is_file_scope, symbol.signature AS signature "
"%s FROM symbol "
@@ -7588,7 +7588,7 @@
/* fill info_data and join data with optional sql */
sdb_engine_prepare_symbol_info_sql (dbe, info_data, join_data, sym_info);
- query_str = g_strdup_printf ("SELECT symbol.symbol_id, symbol.name, "
+ query_str = g_strdup_printf ("SELECT symbol.symbol_id AS symbol_id, "
"symbol.name AS name, symbol.file_position AS file_position, "
"symbol.is_file_scope AS is_file_scope, symbol.signature AS signature, "
"sym_kind.kind_name AS kind_name "
@@ -7653,8 +7653,8 @@
}
filter_str = g_string_append (filter_str , ")");
- query_str = g_strdup_printf ("SELECT symbol.symbol_id, symbol.name, "
- "symbol.name AS name, symbol.file_position AS file_position, "
+ query_str = g_strdup_printf ("SELECT symbol.symbol_id AS symbol_id, symbol.name AS name, "
+ "symbol.file_position AS file_position, "
"symbol.is_file_scope AS is_file_scope, symbol.signature AS signature, "
"sym_kind.kind_name AS kind_name "
"%s FROM symbol %s JOIN sym_kind ON symbol.kind_id = sym_kind.sym_kind_id "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]