summaryrefslogtreecommitdiffstats
path: root/src/extension/param/int.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/int.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/int.cpp')
-rw-r--r--src/extension/param/int.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/extension/param/int.cpp b/src/extension/param/int.cpp
index 538ddc08d..e81b0a526 100644
--- a/src/extension/param/int.cpp
+++ b/src/extension/param/int.cpp
@@ -162,14 +162,13 @@ ParamInt::get_widget (SPDocument * doc, Inkscape::XML::Node * node, sigc::signal
if (_mode == FULL) {
- UI::Widget::SpinScale *scale = new UI::Widget::SpinScale(_(_text), fadjust, 0);
+ UI::Widget::SpinScale *scale = new UI::Widget::SpinScale(_text, fadjust, 0);
scale->set_size_request(400, -1);
scale->show();
hbox->pack_start(*scale, true, true);
}
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);