From afc910c44d61701dbd1e76fe7525b54c2a79ba2a Mon Sep 17 00:00:00 2001 From: Ralf Stephan Date: Tue, 24 Jan 2006 10:54:41 +0000 Subject: mnemonics for all widgets in the Doc Props dialog (fixes #1384494-9+B) (bzr r26) --- src/ui/widget/tolerance-slider.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/widget/tolerance-slider.cpp') 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); -- cgit v1.2.3