summaryrefslogtreecommitdiffstats
path: root/src/widgets
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/widgets
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/widgets')
-rw-r--r--src/widgets/toolbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 1063ce2a1..8cdf0a07f 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -507,7 +507,7 @@ static GtkAction* create_action_for_verb( Inkscape::Verb* verb, Inkscape::UI::Vi
GtkAction* act = 0;
SPAction* targetAction = verb->get_action(view);
- InkAction* inky = ink_action_new( verb->get_id(), verb->get_name(), _(verb->get_tip()), verb->get_image(), size );
+ InkAction* inky = ink_action_new( verb->get_id(), _(verb->get_name()), verb->get_tip(), verb->get_image(), size );
act = GTK_ACTION(inky);
gtk_action_set_sensitive( act, targetAction->sensitive );