[anjuta/git-shell] git: Unset the active branch status indicator on project unloading
- From: James Liggett <jrliggett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/git-shell] git: Unset the active branch status indicator on project unloading
- Date: Tue, 18 May 2010 02:41:36 +0000 (UTC)
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]