[anjuta] symbol-db: Remove warning action group already exist
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjuta] symbol-db: Remove warning action group already exist
- Date: Tue, 19 Jan 2010 20:57:25 +0000 (UTC)
commit c7879820c33a61425e05ee0a7f29a711c1043ade
Author: Sébastien Granjoux <seb sfo free fr>
Date: Tue Jan 19 21:50:09 2010 +0100
symbol-db: Remove warning action group already exist
plugins/symbol-db/plugin.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/plugins/symbol-db/plugin.c b/plugins/symbol-db/plugin.c
index 630ff70..0973699 100644
--- a/plugins/symbol-db/plugin.c
+++ b/plugins/symbol-db/plugin.c
@@ -2540,7 +2540,15 @@ symbol_db_deactivate (AnjutaPlugin *plugin)
sdb_plugin = ANJUTA_PLUGIN_SYMBOL_DB (plugin);
DEBUG_PRINT ("%s", "SymbolDBPlugin: Dectivating SymbolDBPlugin plugin â?¦");
-
+
+ /* Unmerge UI */
+ gtk_ui_manager_remove_ui (GTK_UI_MANAGER (sdb_plugin->ui),
+ sdb_plugin->merge_id);
+ gtk_ui_manager_remove_action_group (GTK_UI_MANAGER (sdb_plugin->ui),
+ sdb_plugin->popup_action_group);
+ gtk_ui_manager_remove_action_group (GTK_UI_MANAGER (sdb_plugin->ui),
+ sdb_plugin->menu_action_group);
+
/* disconnect some signals */
g_signal_handlers_disconnect_by_func (G_OBJECT (sdb_plugin->dbv_view_tree_locals),
on_local_treeview_row_activated,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]