summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorMarcin Floryan <mfloryan@mm.waw.pl>2008-02-22 13:37:48 +0000
committermfloryan <mfloryan@users.sourceforge.net>2008-02-22 13:37:48 +0000
commit2ddaffebab5a866aa845b1c3621eb58aff790bfe (patch)
tree3f40d6b1686e3b9de87e9fa29f2b0691723307a7 /src/verbs.cpp
parentDon't crash when the original of an SPUse can't be found. This sort of fixes ... (diff)
downloadinkscape-2ddaffebab5a866aa845b1c3621eb58aff790bfe.tar.gz
inkscape-2ddaffebab5a866aa845b1c3621eb58aff790bfe.zip
Changed how tooltips for verbs are fetched to display translated versions correctly in the toolbox. Closes #169103.
(bzr r4822)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 95d44483e..2902a4a2f 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -625,6 +625,12 @@ Verb::sensitive(SPDocument *in_doc, bool in_sensitive)
return;
}
+/** \brief Accessor to get the tooltip for verb as localised string */
+gchar const *
+Verb::get_tip (void)
+{
+ return _(_tip);
+}
void
Verb::name(SPDocument *in_doc, Glib::ustring in_name)