[gitg] Fix unstaging from context menu



commit 31079b1e77afa0457feae2da8d7e3e424d36d96e
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sun May 30 17:28:23 2010 +0200

    Fix unstaging from context menu

 gitg/gitg-commit-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-commit-view.c b/gitg/gitg-commit-view.c
index a0cab69..f7c75f6 100644
--- a/gitg/gitg-commit-view.c
+++ b/gitg/gitg-commit-view.c
@@ -2251,7 +2251,7 @@ on_unstage_changes(GtkAction *action, GitgCommitView *view)
 		GList *files = NULL;
 		GList *item;
 
-		get_selected_files (view->priv->tree_view_unstaged, &files, NULL, NULL, NULL);
+		get_selected_files (view->priv->tree_view_staged, &files, NULL, NULL, NULL);
 
 		for (item = files; item; item = g_list_next (item))
 		{



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