diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-03-18 20:06:37 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-03-18 20:06:37 +0000 |
| commit | 5ea50da1809d7c851b97c448588757ec33a0145e (patch) | |
| tree | f1a669fc9d1647600ced5fa28d8e8c5af3af9cf0 /src/sp-use.cpp | |
| parent | update to trunk (diff) | |
| parent | Fix for Bug #1291546 (Linking color profile from Document properties dialog c... (diff) | |
| download | inkscape-5ea50da1809d7c851b97c448588757ec33a0145e.tar.gz inkscape-5ea50da1809d7c851b97c448588757ec33a0145e.zip | |
update to trunk
(bzr r11950.1.300)
Diffstat (limited to 'src/sp-use.cpp')
| -rw-r--r-- | src/sp-use.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sp-use.cpp b/src/sp-use.cpp index 14f51159b..e8fe3687f 100644 --- a/src/sp-use.cpp +++ b/src/sp-use.cpp @@ -220,7 +220,11 @@ const char* SPUse::displayName() const { gchar* SPUse::description() const { if (this->child) { if( SP_IS_SYMBOL( this->child ) ) { - return g_strdup_printf(_("called %s"), Glib::Markup::escape_text(Glib::ustring( g_dpgettext2(NULL, "Symbol", this->child->title()))).c_str()); + if (this->child->title()) { + return g_strdup_printf(_("called %s"), Glib::Markup::escape_text(Glib::ustring( g_dpgettext2(NULL, "Symbol", this->child->title()))).c_str()); + } else { + return g_strdup_printf(_("called %s"), _("Unnamed Symbol")); + } } static unsigned recursion_depth = 0; |
