From c1dd5235dfc1992d46436ace9167ebc820e8333a Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 15 Jan 2008 14:49:00 +0000 Subject: [PATCH] When encapsulating layers, show which layers were encapsulated in the History dialog. git-svn-id: http://svn.voria.com/code@1377 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp b/synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp index 85ee470..1837688 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/layerencapsulate.cpp @@ -47,7 +47,7 @@ using namespace Action; /* === M A C R O S ========================================================= */ -ACTION_INIT(Action::LayerEncapsulate); +ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerEncapsulate); ACTION_SET_NAME(Action::LayerEncapsulate,"layer_encapsulate"); ACTION_SET_LOCAL_NAME(Action::LayerEncapsulate,N_("Encapsulate")); ACTION_SET_TASK(Action::LayerEncapsulate,"encapsulate"); @@ -66,6 +66,12 @@ Action::LayerEncapsulate::LayerEncapsulate() { } +synfig::String +Action::LayerEncapsulate::get_local_name()const +{ + return get_layer_descriptions(layers, _("Encapsulate Layer"), _("Encapsulate Layers")); +} + Action::ParamVocab Action::LayerEncapsulate::get_param_vocab() { -- 2.7.4