X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Factions%2Flayerlower.cpp;h=68cad973cc5708f06e2895f9771de4054f516f01;hb=1e0ddeb566a2766b85bffc17e501721cc025d851;hp=99f0156d82b185366b9379eef0e03e51dc877604;hpb=8ef042c40521681cea99944097c4f90a5ac6cf74;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/actions/layerlower.cpp b/synfig-studio/trunk/src/synfigapp/actions/layerlower.cpp index 99f0156..68cad97 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/layerlower.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/layerlower.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,8 +46,8 @@ using namespace Action; /* === M A C R O S ========================================================= */ -ACTION_INIT(Action::LayerLower); -ACTION_SET_NAME(Action::LayerLower,"layer_lower"); +ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerLower); +ACTION_SET_NAME(Action::LayerLower,"LayerLower"); ACTION_SET_LOCAL_NAME(Action::LayerLower,N_("Lower Layer")); ACTION_SET_TASK(Action::LayerLower,"lower"); ACTION_SET_CATEGORY(Action::LayerLower,Action::CATEGORY_LAYER); @@ -64,6 +65,12 @@ Action::LayerLower::LayerLower() { } +synfig::String +Action::LayerLower::get_local_name()const +{ + return get_layer_descriptions(layers, _("Lower Layer"), _("Lower Layers")); +} + Action::ParamVocab Action::LayerLower::get_param_vocab() {