summaryrefslogtreecommitdiffstats
path: root/src/widgets/mesh-toolbar.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-11-24 09:25:42 +0000
committertavmjong-free <tavmjong@free.fr>2015-11-24 09:25:42 +0000
commitae79787329b6f01f52591a70c2b4ccfae9fec14d (patch)
treea25fb162d3aac6bfa9669cea1662a966f01af1cd /src/widgets/mesh-toolbar.cpp
parentRemove unneeded header. (diff)
downloadinkscape-ae79787329b6f01f52591a70c2b4ccfae9fec14d.tar.gz
inkscape-ae79787329b6f01f52591a70c2b4ccfae9fec14d.zip
Change context from gradient to mesh.
(bzr r14486)
Diffstat (limited to 'src/widgets/mesh-toolbar.cpp')
-rw-r--r--src/widgets/mesh-toolbar.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/widgets/mesh-toolbar.cpp b/src/widgets/mesh-toolbar.cpp
index 4e0b6d68b..9937b23ed 100644
--- a/src/widgets/mesh-toolbar.cpp
+++ b/src/widgets/mesh-toolbar.cpp
@@ -292,6 +292,9 @@ static void ms_col_changed(GtkAdjustment *adj, GObject * /*tbl*/ )
blocked = FALSE;
}
+/**
+ * Sets mesh type: Coons, Bicubic
+ */
static void ms_type_changed(EgeSelectOneAction *act, GtkWidget *widget)
{
// std::cout << "ms_type_changed" << std::endl;
@@ -311,7 +314,7 @@ static void ms_type_changed(EgeSelectOneAction *act, GtkWidget *widget)
gradient->type_set = true;
gradient->updateRepr();
- DocumentUndo::done(desktop->getDocument(), SP_VERB_CONTEXT_GRADIENT,
+ DocumentUndo::done(desktop->getDocument(), SP_VERB_CONTEXT_MESH,
_("Set mesh type"));
}
}