From: dooglus Date: Tue, 15 Jan 2008 14:49:00 +0000 (+0000) Subject: When encapsulating layers, show which layers were encapsulated in the History dialog. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c1dd5235dfc1992d46436ace9167ebc820e8333a;p=synfig.git 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 --- 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() {