summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-01-01 22:09:22 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-01-01 22:09:22 +0000
commit72f43c86d2f36f801785bfa4a393956a5c9f45b5 (patch)
tree98256c32d5b932e31c76b5e8a11a9fc5545159a6 /src
parentFixes crashes with knoth in bend and pattern along path (diff)
parentMerge branch 'checkboxlabel' of gitlab.com:darktrojan/inkscape (diff)
downloadinkscape-72f43c86d2f36f801785bfa4a393956a5c9f45b5.tar.gz
inkscape-72f43c86d2f36f801785bfa4a393956a5c9f45b5.zip
Merge branch 'master' into fixBendAndPatternAlongPathCrashesWithKnots
Diffstat (limited to 'src')
-rw-r--r--src/extension/param/bool.cpp10
-rw-r--r--src/live_effects/effect.cpp2
-rw-r--r--src/live_effects/lpe-clone-original.cpp2
-rw-r--r--src/live_effects/lpe-embrodery-stitch.cpp2
-rw-r--r--src/live_effects/lpe-measure-segments.cpp4
-rw-r--r--src/widgets/pencil-toolbar.cpp4
6 files changed, 10 insertions, 14 deletions
diff --git a/src/extension/param/bool.cpp b/src/extension/param/bool.cpp
index 2c7e32480..80bc89138 100644
--- a/src/extension/param/bool.cpp
+++ b/src/extension/param/bool.cpp
@@ -83,8 +83,8 @@ public:
*
* @param param Which parameter to adjust on changing the check button
*/
- ParamBoolCheckButton (ParamBool * param, SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal) :
- Gtk::CheckButton(), _pref(param), _doc(doc), _node(node), _changeSignal(changeSignal) {
+ ParamBoolCheckButton (ParamBool * param, gchar * label, SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal) :
+ Gtk::CheckButton(label), _pref(param), _doc(doc), _node(node), _changeSignal(changeSignal) {
this->set_active(_pref->get(NULL, NULL) /**\todo fix */);
this->signal_toggled().connect(sigc::mem_fun(this, &ParamBoolCheckButton::on_toggle));
return;
@@ -133,11 +133,7 @@ Gtk::Widget *ParamBool::get_widget(SPDocument * doc, Inkscape::XML::Node * node,
auto hbox = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_HORIZONTAL, Parameter::GUI_PARAM_WIDGETS_SPACING));
hbox->set_homogeneous(false);
- Gtk::Label * label = Gtk::manage(new Gtk::Label(_text, Gtk::ALIGN_START));
- label->show();
- hbox->pack_end(*label, true, true);
-
- ParamBoolCheckButton * checkbox = Gtk::manage(new ParamBoolCheckButton(this, doc, node, changeSignal));
+ ParamBoolCheckButton * checkbox = Gtk::manage(new ParamBoolCheckButton(this, _text, doc, node, changeSignal));
checkbox->show();
hbox->pack_start(*checkbox, false, false);
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index f4aad4f53..a1fe9855a 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -130,7 +130,7 @@ const Util::EnumData<EffectType> LPETypeData[] = {
{MEASURE_SEGMENTS, N_("Measure Segments"), "measure_segments"},
{FILLET_CHAMFER, N_("Fillet/Chamfer"), "fillet_chamfer"},
{BOOL_OP, N_("Boolean operation"), "bool_op"},
- {EMBRODERY_STITCH, N_("Embrodery stitch"), "embrodery_stitch"},
+ {EMBRODERY_STITCH, N_("Embroidery stitch"), "embrodery_stitch"},
{POWERCLIP, N_("Power clip"), "powerclip"},
{POWERMASK, N_("Power mask"), "powermask"},
#ifdef LPE_ENABLE_TEST_EFFECTS
diff --git a/src/live_effects/lpe-clone-original.cpp b/src/live_effects/lpe-clone-original.cpp
index d376df788..5f1f4a08f 100644
--- a/src/live_effects/lpe-clone-original.cpp
+++ b/src/live_effects/lpe-clone-original.cpp
@@ -36,7 +36,7 @@ LPECloneOriginal::LPECloneOriginal(LivePathEffectObject *lpeobject) :
method(_("Shape linked"), _("Shape linked"), "method", CLMConverter, &wr, this, CLM_D),
attributes("Attributes linked", "Attributes linked, comma separated atributes", "attributes", &wr, this,""),
style_attributes("Style attributes linked", "Style attributes linked, comma separated attributes like fill, filter, opacity", "style_attributes", &wr, this,""),
- allow_transforms(_("Alow transforms"), _("Alow transforms"), "allow_transforms", &wr, this, true)
+ allow_transforms(_("Allow transforms"), _("Allow transforms"), "allow_transforms", &wr, this, true)
{
//0.92 compatibility
const gchar * linkedpath = this->getRepr()->attribute("linkedpath");
diff --git a/src/live_effects/lpe-embrodery-stitch.cpp b/src/live_effects/lpe-embrodery-stitch.cpp
index 282419fd8..972d29b9c 100644
--- a/src/live_effects/lpe-embrodery-stitch.cpp
+++ b/src/live_effects/lpe-embrodery-stitch.cpp
@@ -34,7 +34,7 @@ static const Util::EnumData<LPEEmbroderyStitch::order_method> OrderMethodData[LP
{ LPEEmbroderyStitch::order_method_tsp_kopt_2, N_("traveling salesman 2-opt (fast, bad)"), "tsp-2opt" },
{ LPEEmbroderyStitch::order_method_tsp_kopt_3, N_("traveling salesman 3-opt (fast, ok)"), "tsp-3opt" },
{ LPEEmbroderyStitch::order_method_tsp_kopt_4, N_("traveling salesman 4-opt (seconds)"), "tsp-4opt" },
- { LPEEmbroderyStitch::order_method_tsp_kopt_5, N_("traveling salesman 5-opt (miutes)"), "tsp-5opt" }
+ { LPEEmbroderyStitch::order_method_tsp_kopt_5, N_("traveling salesman 5-opt (minutes)"), "tsp-5opt" }
};
static const Util::EnumDataConverter<LPEEmbroderyStitch::order_method>
diff --git a/src/live_effects/lpe-measure-segments.cpp b/src/live_effects/lpe-measure-segments.cpp
index 4bc9278fc..57bff2034 100644
--- a/src/live_effects/lpe-measure-segments.cpp
+++ b/src/live_effects/lpe-measure-segments.cpp
@@ -74,9 +74,9 @@ LPEMeasureSegments::LPEMeasureSegments(LivePathEffectObject *lpeobject) :
flip_side(_("Flip side"), _("Flip side"), "flip_side", &wr, this, false),
scale_sensitive(_("Scale sensitive"), _("Costrained scale sensitive to transformed containers"), "scale_sensitive", &wr, this, true),
local_locale(_("Local Number Format"), _("Local number format"), "local_locale", &wr, this, true),
- rotate_anotation(_("Rotate Anotation"), _("Rotate Anotation"), "rotate_anotation", &wr, this, true),
+ rotate_anotation(_("Rotate Annotation"), _("Rotate Annotation"), "rotate_anotation", &wr, this, true),
hide_back(_("Hide if label over"), _("Hide DIN line if label over"), "hide_back", &wr, this, true),
- message(_("Info Box"), _("Important messages"), "message", &wr, this, _("Use <b>\"Style Dialog\"</b> to more styling. Each meassure element has extra selectors. Use !important to override defaults..."))
+ message(_("Info Box"), _("Important messages"), "message", &wr, this, _("Use <b>\"Style Dialog\"</b> to more styling. Each measure element has extra selectors. Use !important to override defaults..."))
{
//set to true the parameters you want to be changed his default values
registerParameter(&unit);
diff --git a/src/widgets/pencil-toolbar.cpp b/src/widgets/pencil-toolbar.cpp
index 688eb2cf0..14fb72f97 100644
--- a/src/widgets/pencil-toolbar.cpp
+++ b/src/widgets/pencil-toolbar.cpp
@@ -476,7 +476,7 @@ void sp_pencil_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb
/* min pressure */
{
eact = create_adjustment_action( "MinPressureAction",
- _("Min presure"), _("Min:"), _("Min percent of pressure"),
+ _("Min pressure"), _("Min:"), _("Min percent of pressure"),
"/tools/freehand/pencil/minpressure", 0,
GTK_WIDGET(desktop->canvas), holder, FALSE, NULL,
0, 100, 1, 0,
@@ -494,7 +494,7 @@ void sp_pencil_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb
/* max pressure */
{
eact = create_adjustment_action( "MaxPressureAction",
- _("Max presure"), _("Max:"), _("Max percent of pressure"),
+ _("Max pressure"), _("Max:"), _("Max percent of pressure"),
"/tools/freehand/pencil/maxpressure", 100,
GTK_WIDGET(desktop->canvas), holder, FALSE, NULL,
0, 100, 1, 0,