[anjuta] git: Add a stash button to the Status command bar



commit 7e40cc50881c04da237ad99c6087ed7ec9b6540b
Author: James Liggett <jrliggett cox net>
Date:   Sat Mar 23 16:13:23 2013 -0700

    git: Add a stash button to the Status command bar

 plugins/git/plugin.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/plugins/git/plugin.c b/plugins/git/plugin.c
index 8f9cd04..808a06a 100644
--- a/plugins/git/plugin.c
+++ b/plugins/git/plugin.c
@@ -205,6 +205,22 @@ AnjutaCommandBarEntry status_entries[] =
                N_("Mark selected conflicted files as resolved"),
                GTK_STOCK_PREFERENCES,
                G_CALLBACK (on_resolve_conflicts_button_clicked)
+       },
+       {
+               ANJUTA_COMMAND_BAR_ENTRY_FRAME,
+               NULL,
+               N_("Stash"),
+               NULL,
+               NULL,
+               NULL
+       },
+       {
+               ANJUTA_COMMAND_BAR_ENTRY_BUTTON,
+               "StashChanges",
+               N_("Stash uncommitted changes"),
+               N_("Save uncommitted changes without committing them"),
+               GTK_STOCK_SAVE,
+               G_CALLBACK (on_stash_changes_button_clicked)
        }
 };
 


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