summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/tolerance-slider.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-01-24 10:54:41 +0000
committerrwst <rwst@users.sourceforge.net>2006-01-24 10:54:41 +0000
commitafc910c44d61701dbd1e76fe7525b54c2a79ba2a (patch)
tree9fe80762ae5a9989ec5982bdfc13ca341656ac62 /src/ui/widget/tolerance-slider.cpp
parent* src/libavoid/connector.cpp, src/libavoid/connector.h, (diff)
downloadinkscape-afc910c44d61701dbd1e76fe7525b54c2a79ba2a.tar.gz
inkscape-afc910c44d61701dbd1e76fe7525b54c2a79ba2a.zip
mnemonics for all widgets in the Doc Props dialog
(fixes #1384494-9+B) (bzr r26)
Diffstat (limited to 'src/ui/widget/tolerance-slider.cpp')
-rw-r--r--src/ui/widget/tolerance-slider.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/widget/tolerance-slider.cpp b/src/ui/widget/tolerance-slider.cpp
index dbef74eaf..88e6915ae 100644
--- a/src/ui/widget/tolerance-slider.cpp
+++ b/src/ui/widget/tolerance-slider.cpp
@@ -58,8 +58,10 @@ ToleranceSlider::init (const Glib::ustring& label1, const Glib::ustring& label2,
{
_hbox = new Gtk::HBox;
Gtk::Label *theLabel1 = manage (new Gtk::Label (label1));
+ theLabel1->set_use_underline();
_hbox->add (*theLabel1);
_hscale = manage (new Gtk::HScale (0.4, 50.1, 0.1));
+ theLabel1->set_mnemonic_widget (*_hscale);
_hscale->set_draw_value (true);
_hscale->set_value_pos (Gtk::POS_RIGHT);
_hscale->set_size_request (100, -1);