diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-09-20 04:45:16 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-09-20 04:45:16 +0000 |
| commit | eb3598e7e27619c759ef33bb9ec4ffb8898523de (patch) | |
| tree | 3793d7310b4cdea6ffaea3fe7ee837b3ede065cf /src/sp-text.cpp | |
| parent | Fix make check after merge of cppify branch (diff) | |
| download | inkscape-eb3598e7e27619c759ef33bb9ec4ffb8898523de.tar.gz inkscape-eb3598e7e27619c759ef33bb9ec4ffb8898523de.zip | |
Refactor status-bar text for multiple items, was very broken
Fixed bugs:
- https://launchpad.net/bugs/1199192
(bzr r12550)
Diffstat (limited to 'src/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp index 85137e58d..afd4e304e 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -321,6 +321,9 @@ void SPText::hide(unsigned int key) { // SPItem::onHide(key); } +const char* SPText::display_name() { + return _("Text"); +} gchar* SPText::description() { SPStyle *style = this->style; @@ -350,8 +353,8 @@ gchar* SPText::description() { } char *ret = ( SP_IS_TEXT_TEXTPATH(this) - ? g_strdup_printf(_("<b>Text on path</b>%s (%s, %s)"), trunc, n, xs->str) - : g_strdup_printf(_("<b>Text</b>%s (%s, %s)"), trunc, n, xs->str) ); + ? g_strdup_printf(_("on path%s (%s, %s)"), trunc, n, xs->str) + : g_strdup_printf(_("%s (%s, %s)"), trunc, n, xs->str) ); g_free(n); return ret; } |
