[gitg] Implement copy name ref action
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Implement copy name ref action
- Date: Sun, 14 Dec 2014 15:02:25 +0000 (UTC)
commit 46d3d3f37321ac139408cb7d8b3db8b849be6002
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Dec 14 16:02:09 2014 +0100
Implement copy name ref action
gitg/Makefile.am | 1 +
gitg/history/gitg-history.vala | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gitg/Makefile.am b/gitg/Makefile.am
index ad115a3..0cb6f42 100644
--- a/gitg/Makefile.am
+++ b/gitg/Makefile.am
@@ -62,6 +62,7 @@ gitg_gitg_VALASOURCES = \
gitg/gitg-ui-elements.vala \
gitg/gitg-ref-action-rename.vala \
gitg/gitg-ref-action-delete.vala \
+ gitg/gitg-ref-action-copy-name.vala \
gitg/gitg-commit-action-create-branch.vala \
gitg/gitg-create-branch-dialog.vala \
gitg/gitg-commit-action-create-tag.vala \
diff --git a/gitg/history/gitg-history.vala b/gitg/history/gitg-history.vala
index e16d3e1..7a9a869 100644
--- a/gitg/history/gitg-history.vala
+++ b/gitg/history/gitg-history.vala
@@ -409,6 +409,7 @@ namespace GitgHistory
add_ref_action(actions, new Gitg.RefActionRename(application, af, reference));
add_ref_action(actions, new Gitg.RefActionDelete(application, af, reference));
+ add_ref_action(actions, new Gitg.RefActionCopyName(application, af, reference));
var exts = new Peas.ExtensionSet(Gitg.PluginsEngine.get_default(),
typeof(GitgExt.RefAction),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]