From a7b9e100b09a63f59982eb6b2c6d1529a9a2993d Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 11 Jan 2008 02:51:58 +0000 Subject: [PATCH] Show the 'active' and 'deactivate' messages with the layer name in quotes in the history dialog. git-svn-id: http://svn.voria.com/code@1321 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp b/synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp index 835fd69..81773ed 100644 --- a/synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp +++ b/synfig-studio/trunk/src/synfigapp/actions/layeractivate.cpp @@ -74,7 +74,11 @@ Action::LayerActivate::get_local_name()const else name=layer->get_description(); - return (new_status?_("Activate "):_("Deactivate "))+name; + return strprintf("%s '%s'", + new_status + ? _("Activate ") + : _("Deactivate "), + name.c_str()); } Action::ParamVocab -- 2.7.4