[anjuta/git-shell] git: Unset the active branch status indicator on project unloading



commit 3875f5e01d5d629474eb918d340b480ea0bd7ab9
Author: James Liggett <jrliggett cox net>
Date:   Mon May 17 19:40:57 2010 -0700

    git: Unset the active branch status indicator on project unloading

 plugins/git/plugin.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/git/plugin.c b/plugins/git/plugin.c
index 2004402..264797d 100644
--- a/plugins/git/plugin.c
+++ b/plugins/git/plugin.c
@@ -115,6 +115,8 @@ on_project_root_removed (AnjutaPlugin *plugin, const gchar *name,
 
 	gtk_widget_set_sensitive (git_plugin->dock, FALSE);
 	gtk_widget_set_sensitive (git_plugin->command_bar, FALSE);
+
+	anjuta_status_set_default (status, _("Branch"), NULL);
 }
 
 static void



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