summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-01-07 18:58:22 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-01-07 18:58:22 +0000
commit5b87911e185edc135166bc8d87d3f131cb80aa03 (patch)
treee6a1c49dead7a8ca44f58a4192325d9a0b5becd2 /src
parentFix typo (diff)
downloadinkscape-5b87911e185edc135166bc8d87d3f131cb80aa03.tar.gz
inkscape-5b87911e185edc135166bc8d87d3f131cb80aa03.zip
Remove a console warning in envelope about ampersand and allow use markup in bool widget labels
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-envelope.cpp4
-rw-r--r--src/ui/widget/registered-widget.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/live_effects/lpe-envelope.cpp b/src/live_effects/lpe-envelope.cpp
index 688841617..b50efde34 100644
--- a/src/live_effects/lpe-envelope.cpp
+++ b/src/live_effects/lpe-envelope.cpp
@@ -20,8 +20,8 @@ LPEEnvelope::LPEEnvelope(LivePathEffectObject *lpeobject) :
bend_path2(_("Right bend path:"), _("Right path along which to bend the original path"), "bendpath2", &wr, this, "M0,0 L1,0"),
bend_path3(_("Bottom bend path:"), _("Bottom path along which to bend the original path"), "bendpath3", &wr, this, "M0,0 L1,0"),
bend_path4(_("Left bend path:"), _("Left path along which to bend the original path"), "bendpath4", &wr, this, "M0,0 L1,0"),
- xx(_("_Enable left & right paths"), _("Enable the left and right deformation paths"), "xx", &wr, this, true),
- yy(_("_Enable top & bottom paths"), _("Enable the top and bottom deformation paths"), "yy", &wr, this, true)
+ xx(_("_Enable left &amp; right paths"), _("Enable the left and right deformation paths"), "xx", &wr, this, true),
+ yy(_("_Enable top &amp; bottom paths"), _("Enable the top and bottom deformation paths"), "yy", &wr, this, true)
{
registerParameter(&yy);
registerParameter(&xx);
diff --git a/src/ui/widget/registered-widget.cpp b/src/ui/widget/registered-widget.cpp
index a3b87f89b..13d223752 100644
--- a/src/ui/widget/registered-widget.cpp
+++ b/src/ui/widget/registered-widget.cpp
@@ -52,7 +52,8 @@ RegisteredCheckButton::RegisteredCheckButton (const Glib::ustring& label, const
setProgrammatically = false;
set_tooltip_text (tip);
- Gtk::Label *l = new Gtk::Label (label);
+ Gtk::Label *l = new Gtk::Label();
+ l->set_markup(label);
l->set_use_underline (true);
add (*manage (l));