When duplicating layers, show which layers were duplicated in the History dialog.
[synfig.git] / synfig-studio / trunk / src / synfigapp / actions / layerraise.cpp
index a58c6b8..e1f6988 100644 (file)
@@ -45,7 +45,7 @@ using namespace Action;
 
 /* === M A C R O S ========================================================= */
 
-ACTION_INIT(Action::LayerRaise);
+ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerRaise);
 ACTION_SET_NAME(Action::LayerRaise,"layer_raise");
 ACTION_SET_LOCAL_NAME(Action::LayerRaise,N_("Raise Layer"));
 ACTION_SET_TASK(Action::LayerRaise,"raise");
@@ -64,6 +64,12 @@ Action::LayerRaise::LayerRaise()
 {
 }
 
+synfig::String
+Action::LayerRaise::get_local_name()const
+{
+       return get_layer_descriptions(layers, _("Raise Layer"), _("Raise Layers"));
+}
+
 Action::ParamVocab
 Action::LayerRaise::get_param_vocab()
 {