151 |
label.set_halign(Gtk::Align::START); |
label.set_halign(Gtk::Align::START); |
152 |
#endif |
#endif |
153 |
Settings::singleton()->showTooltips.get_proxy().signal_changed().connect( |
Settings::singleton()->showTooltips.get_proxy().signal_changed().connect( |
154 |
sigc::mem_fun(this, &LabelWidget::on_show_tooltips_changed) |
sigc::mem_fun(*this, &LabelWidget::on_show_tooltips_changed) |
155 |
); |
); |
156 |
|
|
157 |
// workaround for a crash with certain gtkmm versions: postpone calling |
// workaround for a crash with certain gtkmm versions: postpone calling |
542 |
BoolBox::BoolBox(const char* labelText) : Gtk::CheckButton(labelText) { |
BoolBox::BoolBox(const char* labelText) : Gtk::CheckButton(labelText) { |
543 |
signal_toggled().connect(sig_changed.make_slot()); |
signal_toggled().connect(sig_changed.make_slot()); |
544 |
Settings::singleton()->showTooltips.get_proxy().signal_changed().connect( |
Settings::singleton()->showTooltips.get_proxy().signal_changed().connect( |
545 |
sigc::mem_fun(this, &BoolBox::on_show_tooltips_changed) |
sigc::mem_fun(*this, &BoolBox::on_show_tooltips_changed) |
546 |
); |
); |
547 |
on_show_tooltips_changed(); |
on_show_tooltips_changed(); |
548 |
} |
} |