diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-09-24 15:09:43 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-09-24 15:09:43 +0000 |
| commit | 6f65ca557f8ad953b55b9a703643bbc790eb8da5 (patch) | |
| tree | c06dd17d0ca41899483cc08f893ca2eb2b643142 /src/sp-item.cpp | |
| parent | for bitmap import, use a default value of 90 dpi, if not otherwise specified.... (diff) | |
| download | inkscape-6f65ca557f8ad953b55b9a703643bbc790eb8da5.tar.gz inkscape-6f65ca557f8ad953b55b9a703643bbc790eb8da5.zip | |
change names for displayName and detailedDescription, improve char code and remove const.
(bzr r12584)
Diffstat (limited to 'src/sp-item.cpp')
| -rw-r--r-- | src/sp-item.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp index b7ef68f7d..bdcbefbba 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -933,7 +933,7 @@ void SPItem::invoke_print(SPPrintContext *ctx) } } -const char* SPItem::display_name() { +const char* SPItem::displayName() { return _("Object"); } @@ -946,10 +946,10 @@ gchar* SPItem::description() { * * Must be freed by caller. */ -gchar *SPItem::getDetailedDescription() +gchar *SPItem::detailedDescription() { gchar* s = g_strdup_printf("<b>%s</b> %s", - this->display_name(), this->description()); + this->displayName(), this->description()); if (s && clip_ref->getObject()) { gchar *snew = g_strdup_printf (_("%s; <i>clipped</i>"), s); |
