From: dooglus Date: Fri, 11 Jan 2008 02:51:58 +0000 (+0000) Subject: Show the 'active' and 'deactivate' messages with the layer name in quotes in the... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a7b9e100b09a63f59982eb6b2c6d1529a9a2993d;p=synfig.git 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 --- 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