summaryrefslogtreecommitdiffstats
path: root/src/extension/param/float.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-04-24 18:59:06 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-04-24 18:59:06 +0000
commitbab6dfe02bd9556c931973a272e154251764e88e (patch)
tree4e63e6d40ee6c6757bcdd5754d0cc97af0ae15a4 /src/extension/param/float.cpp
parentFix crash when modifying text in "Text and Font" dialog (diff)
downloadinkscape-bab6dfe02bd9556c931973a272e154251764e88e.tar.gz
inkscape-bab6dfe02bd9556c931973a272e154251764e88e.zip
Restore r14955 which was reverted in r15047 due to messed up merge
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14955 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15047 Fixed bugs: - https://launchpad.net/bugs/1669951 (bzr r15633)
Diffstat (limited to 'src/extension/param/float.cpp')
-rw-r--r--src/extension/param/float.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/param/float.cpp b/src/extension/param/float.cpp
index e3fdba826..e9bb45c2e 100644
--- a/src/extension/param/float.cpp
+++ b/src/extension/param/float.cpp
@@ -181,7 +181,7 @@ Gtk::Widget * ParamFloat::get_widget(SPDocument * doc, Inkscape::XML::Node * nod
if (_mode == FULL) {
- UI::Widget::SpinScale *scale = new UI::Widget::SpinScale(_(_text), fadjust, _precision);
+ UI::Widget::SpinScale *scale = new UI::Widget::SpinScale(_text, fadjust, _precision);
scale->set_size_request(400, -1);
scale->show();
hbox->pack_start(*scale, true, true);
@@ -189,7 +189,7 @@ Gtk::Widget * ParamFloat::get_widget(SPDocument * doc, Inkscape::XML::Node * nod
}
else if (_mode == MINIMAL) {
- Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START));
+ Gtk::Label * label = Gtk::manage(new Gtk::Label(_text, Gtk::ALIGN_START));
label->show();
hbox->pack_start(*label, true, true);