Bring back bold font in section title

This commit is contained in:
Hombre
2011-02-06 20:16:56 +01:00
parent 4c6f9176c7
commit 144f239cf5
2 changed files with 1 additions and 5 deletions

View File

@@ -23,12 +23,8 @@ using namespace rtengine::procparams;
FoldableToolPanel::FoldableToolPanel(Gtk::Box* content) : ToolPanel(), parentContainer(NULL), exp(NULL) {
// Gtk::Expander* exp = new Gtk::Expander ();
// exp->set_label_widget (*(new ILabel (Glib::ustring("<b>") + label + "</b>")));
exp = Gtk::manage (new Gtk::Expander ());
exp->set_border_width (4);
//Glib::RefPtr<Gtk::Style> *style = new Gtk::Style();
//exp->set_style()
exp->set_use_markup (true);
exp->signal_button_release_event().connect_notify( sigc::mem_fun(this, &FoldableToolPanel::foldThemAll) );

View File

@@ -74,7 +74,7 @@ class FoldableToolPanel : public ToolPanel {
void setParent (Gtk::Box* parent) { parentContainer = parent; }
Gtk::Box* getParent () { return parentContainer; }
void setLabel (Glib::ustring label) { exp->set_label(label); }
void setLabel (Glib::ustring label) { exp->set_label(Glib::ustring("<b>") + label + Glib::ustring("</b>")); }
};
#endif