summaryrefslogtreecommitdiffstats
path: root/src/sp-use.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-03-08 09:08:35 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-03-08 09:08:35 +0000
commit922cfce377ff0307f3991ba0ea22ee0a37d6c627 (patch)
tree0d563c0c227f2f83442f91411e3a2cec5e078cb5 /src/sp-use.cpp
parentupdate to trunk (diff)
parentReconnect correctly as documents are replaced. (diff)
downloadinkscape-922cfce377ff0307f3991ba0ea22ee0a37d6c627.tar.gz
inkscape-922cfce377ff0307f3991ba0ea22ee0a37d6c627.zip
update to trunk
(bzr r11950.1.287)
Diffstat (limited to 'src/sp-use.cpp')
-rw-r--r--src/sp-use.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp-use.cpp b/src/sp-use.cpp
index e394e84c2..14f51159b 100644
--- a/src/sp-use.cpp
+++ b/src/sp-use.cpp
@@ -22,6 +22,7 @@
#include <2geom/transforms.h>
#include <glibmm/i18n.h>
+#include <glibmm/markup.h>
#include "display/drawing-group.h"
#include "attributes.h"
#include "document.h"
@@ -219,7 +220,7 @@ const char* SPUse::displayName() const {
gchar* SPUse::description() const {
if (this->child) {
if( SP_IS_SYMBOL( this->child ) ) {
- return g_strdup_printf(_("called %s"), this->child->title());
+ return g_strdup_printf(_("called %s"), Glib::Markup::escape_text(Glib::ustring( g_dpgettext2(NULL, "Symbol", this->child->title()))).c_str());
}
static unsigned recursion_depth = 0;