When splitting a tangent, show which tangent was split in the History dialog.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 15 Jan 2008 14:48:41 +0000 (14:48 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 15 Jan 2008 14:48:41 +0000 (14:48 +0000)
git-svn-id: http://svn.voria.com/code@1375 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/synfigapp/actions/blinepointtangentsplit.cpp

index 3ac1f36..163efa4 100644 (file)
@@ -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()
 {