summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/preferences-widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/preferences-widget.cpp')
-rw-r--r--src/ui/widget/preferences-widget.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp
index 14d9621c6..c96bf88f1 100644
--- a/src/ui/widget/preferences-widget.cpp
+++ b/src/ui/widget/preferences-widget.cpp
@@ -94,8 +94,9 @@ void DialogPage::add_line(bool indent,
// Add a label in the first column if provided
if (label != "")
{
- Gtk::Label* label_widget = Gtk::manage(new Gtk::Label(label, Gtk::ALIGN_START,
+ Gtk::Label* label_widget = Gtk::manage(new Gtk::Label("", Gtk::ALIGN_START,
Gtk::ALIGN_CENTER, true));
+ label_widget->set_markup(label);
label_widget->set_mnemonic_widget(widget);
if (indent) {
@@ -133,7 +134,8 @@ void DialogPage::add_line(bool indent,
// Add a label on the right of the widget if desired
if (suffix != "")
{
- Gtk::Label* suffix_widget = Gtk::manage(new Gtk::Label(suffix , Gtk::ALIGN_START , Gtk::ALIGN_CENTER, true));
+ Gtk::Label* suffix_widget = Gtk::manage(new Gtk::Label("" , Gtk::ALIGN_START , Gtk::ALIGN_CENTER, true));
+ suffix_widget->set_markup(suffix);
hb->pack_start(*suffix_widget,false,false);
}