[anjuta/git-shell] git: Stop all automatic monitor commands when closing a project



commit 9bcf14f5d19edb8d00cfeb0707ace0ecb54ff548
Author: James Liggett <jrliggett cox net>
Date:   Sun Sep 19 16:36:49 2010 -0700

    git: Stop all automatic monitor commands when closing a project

 plugins/git/plugin.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/git/plugin.c b/plugins/git/plugin.c
index c1545ce..9b16a07 100644
--- a/plugins/git/plugin.c
+++ b/plugins/git/plugin.c
@@ -427,6 +427,10 @@ on_project_root_removed (AnjutaPlugin *plugin, const gchar *name,
 	
 	anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->local_branch_list_command));
 	anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->commit_status_command));
+	anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->remote_list_command));
+	anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->tag_list_command));
+	anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->stash_list_command));
+	anjuta_command_stop_automatic_monitor (ANJUTA_COMMAND (git_plugin->ref_command));
 	
 	g_free (git_plugin->project_root_directory);
 	git_plugin->project_root_directory = NULL;



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