anjuta r4705 - in trunk: . plugins/symbol-db
- From: mcora svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4705 - in trunk: . plugins/symbol-db
- Date: Fri, 6 Feb 2009 21:27:13 +0000 (UTC)
Author: mcora
Date: Fri Feb 6 21:27:13 2009
New Revision: 4705
URL: http://svn.gnome.org/viewvc/anjuta?rev=4705&view=rev
Log:
* plugins/symbol-db/plugin.c (on_session_load),
(symbol_db_activate):
hide progress bar for system and project if no project is loaded.
Modified:
trunk/ChangeLog
trunk/plugins/symbol-db/plugin.c
Modified: trunk/plugins/symbol-db/plugin.c
==============================================================================
--- trunk/plugins/symbol-db/plugin.c (original)
+++ trunk/plugins/symbol-db/plugin.c Fri Feb 6 21:27:13 2009
@@ -742,6 +742,12 @@
g_value_unset(&value);
}
}
+
+ if (sdb_plugin->project_opened == NULL)
+ {
+ gtk_widget_hide (sdb_plugin->progress_bar_project);
+ gtk_widget_hide (sdb_plugin->progress_bar_system);
+ }
}
}
@@ -2202,7 +2208,6 @@
sdb_plugin->progress_bar_system = gtk_progress_bar_new();
gtk_progress_bar_set_ellipsize (GTK_PROGRESS_BAR(sdb_plugin->progress_bar_system),
PANGO_ELLIPSIZE_MIDDLE);
-
g_object_ref (sdb_plugin->progress_bar_system);
gtk_box_pack_start (GTK_BOX (sdb_plugin->dbv_main), sdb_plugin->dbv_notebook,
@@ -2213,6 +2218,7 @@
FALSE, FALSE, 0);
gtk_widget_show_all (sdb_plugin->dbv_main);
+
/* Local symbols */
sdb_plugin->scrolled_locals = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sdb_plugin->scrolled_locals),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]