From: dooglus Date: Tue, 15 Jan 2008 14:48:41 +0000 (+0000) Subject: When splitting a tangent, show which tangent was split in the History dialog. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e12aee8fd9b9d3690ba169b1f888a8dce0d352e4;p=synfig.git When splitting a tangent, show which tangent was split in the History dialog. git-svn-id: http://svn.voria.com/code@1375 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/synfigapp/actions/blinepointtangentsplit.cpp b/synfig-studio/trunk/src/synfigapp/actions/blinepointtangentsplit.cpp index 3ac1f36..163efa4 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/blinepointtangentsplit.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/blinepointtangentsplit.cpp @@ -51,7 +51,7 @@ using namespace Action; /* === M A C R O S ========================================================= */ -ACTION_INIT(Action::BLinePointTangentSplit); +ACTION_INIT_NO_GET_LOCAL_NAME(Action::BLinePointTangentSplit); ACTION_SET_NAME(Action::BLinePointTangentSplit,"bline_point_tangent_split"); ACTION_SET_LOCAL_NAME(Action::BLinePointTangentSplit,N_("Split Tangents")); ACTION_SET_TASK(Action::BLinePointTangentSplit,"split"); @@ -72,6 +72,12 @@ Action::BLinePointTangentSplit::BLinePointTangentSplit() set_dirty(true); } +synfig::String +Action::BLinePointTangentSplit::get_local_name()const +{ + return strprintf(_("Split Tangents of '%s'"), ((ValueNode::Handle)(value_node))->get_description().c_str()); +} + Action::ParamVocab Action::BLinePointTangentSplit::get_param_vocab() {