X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Factions%2Flayerduplicate.cpp;h=530dc8463cd3bb2f8e43395818e12dafff30993c;hb=027a2dc1cf3e9d126fa69e1af829db0a0ead6b3a;hp=9d31f12d7491d6ff9bd811c662b4374cb38716de;hpb=1caec5f187f1ec173ee8e8b08af726d9e1d86cda;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp b/synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp index 9d31f12..530dc84 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/layerduplicate.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -45,7 +46,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 +65,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() {