summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-30 02:17:51 +0000
committerNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-31 23:59:31 +0000
commit68eb62ca34fb936efa5bb35cddbf89f61e6912e2 (patch)
treeba3d5125626638b7e1a247e72134fafc4c0fb76c /src/widgets
parentIf potrace unavailable, hide from the context menu (diff)
downloadinkscape-68eb62ca34fb936efa5bb35cddbf89f61e6912e2.tar.gz
inkscape-68eb62ca34fb936efa5bb35cddbf89f61e6912e2.zip
Hide spellcheck dialog if Aspell is missing
Hide warnings emitted if Aspell/Potrace missing
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 5a33616c5..cb9a32e95 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -726,7 +726,7 @@ void setup_aux_toolbox(GtkWidget *toolbox, SPDesktop *desktop)
gtk_widget_set_name( holder, aux_toolboxes[i].ui_name );
gtk_widget_show(sub_toolbox);
gtk_widget_show(holder);
- } else {
+ } else if (aux_toolboxes[i].swatch_verb_id != SP_VERB_NONE) {
g_warning("Could not create toolbox %s", aux_toolboxes[i].ui_name);
}
}