[anjuta/git-shell: 21/26] git: Make the GitCommand working-directory property changeable after creation



commit 72fecf98e6f28ade4712eb6c8975616c69e79121
Author: James Liggett <jrliggett cox net>
Date:   Mon May 17 15:26:34 2010 -0700

    git: Make the GitCommand working-directory property changeable after creation
    
    Removing the construct-only restriction allows for commands to be reused
    across projects.

 plugins/git/git-command.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/git/git-command.c b/plugins/git/git-command.c
index 39f34f4..19724f9 100644
--- a/plugins/git/git-command.c
+++ b/plugins/git/git-command.c
@@ -452,7 +452,7 @@ git_command_class_init (GitCommandClass *klass)
 														  "",
 														  "Directory to run git in.",
 														  "",
-														  G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+														  G_PARAM_READWRITE));
 	
 	g_object_class_install_property (object_class, PROP_SINGLE_LINE_OUTPUT,
 									 g_param_spec_boolean ("single-line-output",



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