**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-** Copyright (c) 2007 Chris Moore
+** Copyright (c) 2007, 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
/* === M A C R O S ========================================================= */
-ACTION_INIT(Action::BLinePointTangentMerge);
-ACTION_SET_NAME(Action::BLinePointTangentMerge,"bline_point_tangent_merge");
+ACTION_INIT_NO_GET_LOCAL_NAME(Action::BLinePointTangentMerge);
+ACTION_SET_NAME(Action::BLinePointTangentMerge,"BLinePointTangentMerge");
ACTION_SET_LOCAL_NAME(Action::BLinePointTangentMerge,N_("Merge Tangents"));
ACTION_SET_TASK(Action::BLinePointTangentMerge,"merge");
ACTION_SET_CATEGORY(Action::BLinePointTangentMerge,Action::CATEGORY_VALUENODE);
set_dirty(true);
}
+synfig::String
+Action::BLinePointTangentMerge::get_local_name()const
+{
+ return strprintf(_("Merge Tangents of '%s'"), ((ValueNode::Handle)(value_node))->get_description().c_str());
+}
+
Action::ParamVocab
Action::BLinePointTangentMerge::get_param_vocab()
{
Action::Handle action;
- action=Action::create("value_desc_set");
+ action=Action::create("ValueDescSet");
if(!action)
- throw Error(_("Couldn't find action \"value_desc_set\""));
+ throw Error(_("Couldn't find action \"ValueDescSet\""));
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());