summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/tolerance-slider.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-01-27 16:53:22 +0000
committerrwst <rwst@users.sourceforge.net>2006-01-27 16:53:22 +0000
commit29203587ad9657c5449b48d1f0f58ca66d770fc1 (patch)
treee341cdf060c50041edc07c10d3420416e76a7f6e /src/ui/widget/tolerance-slider.cpp
parentapplied ptch #1413294 by prokoudine: added some missing entries (diff)
downloadinkscape-29203587ad9657c5449b48d1f0f58ca66d770fc1.tar.gz
inkscape-29203587ad9657c5449b48d1f0f58ca66d770fc1.zip
remove second label from ToleranceSlider, fixes #1407428
(bzr r39)
Diffstat (limited to 'src/ui/widget/tolerance-slider.cpp')
-rw-r--r--src/ui/widget/tolerance-slider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/tolerance-slider.cpp b/src/ui/widget/tolerance-slider.cpp
index 88e6915ae..12127d06c 100644
--- a/src/ui/widget/tolerance-slider.cpp
+++ b/src/ui/widget/tolerance-slider.cpp
@@ -54,7 +54,7 @@ ToleranceSlider::~ToleranceSlider()
}
void
-ToleranceSlider::init (const Glib::ustring& label1, const Glib::ustring& label2, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr)
+ToleranceSlider::init (const Glib::ustring& label1, const Glib::ustring& tip, const Glib::ustring& key, Registry& wr)
{
_hbox = new Gtk::HBox;
Gtk::Label *theLabel1 = manage (new Gtk::Label (label1));
@@ -66,8 +66,8 @@ ToleranceSlider::init (const Glib::ustring& label1, const Glib::ustring& label2,
_hscale->set_value_pos (Gtk::POS_RIGHT);
_hscale->set_size_request (100, -1);
_hbox->add (*_hscale);
- Gtk::Label *theLabel2 = manage (new Gtk::Label (label2));
- _hbox->add (*theLabel2);
+// Gtk::Label *theLabel2 = manage (new Gtk::Label (label2));
+// _hbox->add (*theLabel2);
_key = key;
_scale_changed_connection = _hscale->signal_value_changed().connect (sigc::mem_fun (*this, &ToleranceSlider::update));
_wr = &wr;