From 0eefa524857233e5e8e7b12fff2b652066028bde Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 15 Jan 2008 14:48:50 +0000 Subject: [PATCH] When duplicating layers, show which layers were duplicated in the History dialog. git-svn-id: http://svn.voria.com/code@1376 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp b/synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp index 9d31f12..fa7e683 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp @@ -45,7 +45,7 @@ using namespace Action; /* === M A C R O S ========================================================= */ -ACTION_INIT(Action::LayerDuplicate); +ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerDuplicate); ACTION_SET_NAME(Action::LayerDuplicate,"layer_duplicate"); ACTION_SET_LOCAL_NAME(Action::LayerDuplicate,N_("Duplicate Layer")); ACTION_SET_TASK(Action::LayerDuplicate,"duplicate"); @@ -64,6 +64,12 @@ Action::LayerDuplicate::LayerDuplicate() { } +synfig::String +Action::LayerDuplicate::get_local_name()const +{ + return get_layer_descriptions(layers, _("Duplicate Layer"), _("Duplicate Layers")); +} + Action::ParamVocab Action::LayerDuplicate::get_param_vocab() { -- 2.7.4