summaryrefslogtreecommitdiffstats
path: root/src/widgets/paint-selector.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2016-06-08 07:05:19 +0000
committerJazzyNico <nicoduf@yahoo.fr>2016-06-08 07:05:19 +0000
commitfe77182372c47e5fcd9a11629f75de8304a97726 (patch)
tree632d2e805f83bc802ee38d9bd2474e789642334d /src/widgets/paint-selector.cpp
parentFix wrong string in measure code. Noticed to translators. Thanks CRogers fro ... (diff)
downloadinkscape-fe77182372c47e5fcd9a11629f75de8304a97726.tar.gz
inkscape-fe77182372c47e5fcd9a11629f75de8304a97726.zip
[Bug #1590171] Fill and Stroke dialog shows wrong label for Radial gradient.
Fixed bugs: - https://launchpad.net/bugs/1590171 (bzr r14960)
Diffstat (limited to 'src/widgets/paint-selector.cpp')
-rw-r--r--src/widgets/paint-selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp
index aafa6bd1e..58a178aec 100644
--- a/src/widgets/paint-selector.cpp
+++ b/src/widgets/paint-selector.cpp
@@ -789,7 +789,7 @@ static void sp_paint_selector_set_mode_gradient(SPPaintSelector *psel, SPPaintSe
SP_GRADIENT_SELECTOR(gsel)->setMode(SPGradientSelector::MODE_LINEAR);
//sp_gradient_selector_set_mode(SP_GRADIENT_SELECTOR(gsel), SP_GRADIENT_SELECTOR_MODE_LINEAR);
gtk_label_set_markup(GTK_LABEL(psel->label), _("<b>Linear gradient</b>"));
- } else if (mode == SPPaintSelector::MODE_GRADIENT_LINEAR) {
+ } else if (mode == SPPaintSelector::MODE_GRADIENT_RADIAL) {
SP_GRADIENT_SELECTOR(gsel)->setMode(SPGradientSelector::MODE_RADIAL);
gtk_label_set_markup(GTK_LABEL(psel->label), _("<b>Radial gradient</b>"));
}