summaryrefslogtreecommitdiffstats
path: root/src/widgets/paint-selector.cpp
diff options
context:
space:
mode:
authorkamalpreetgrewal <grewalkamal005@gmail.com>2016-06-10 06:57:53 +0000
committerkamalpreetgrewal <grewalkamal005@gmail.com>2016-06-10 06:57:53 +0000
commit2b3f179e9c9e8f7d3836dc7350d34ebcc03f8326 (patch)
tree07d53177432172f888df8be9ec0476f68aeba1cb /src/widgets/paint-selector.cpp
parentSet class attribute values of selected objects using style dialog (diff)
parentFix make test target (diff)
downloadinkscape-2b3f179e9c9e8f7d3836dc7350d34ebcc03f8326.tar.gz
inkscape-2b3f179e9c9e8f7d3836dc7350d34ebcc03f8326.zip
Merge changes from trunk
(bzr r14949.1.4)
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>"));
}