Gtk3 by Hombre, issue 2807

This commit is contained in:
Morgan Hardwood
2015-08-12 16:07:19 +02:00
parent 91f67f0cb6
commit 56a0805bc7
133 changed files with 3950 additions and 2626 deletions

View File

@@ -84,7 +84,7 @@ void ThresholdAdjuster::initObject (Glib::ustring label, bool editedcb)
hbox = Gtk::manage (new Gtk::HBox ());
this->label = Gtk::manage (new Gtk::Label (label, Gtk::ALIGN_LEFT));
this->label = Gtk::manage (new Gtk::Label (label, Gtk::ALIGN_START));
if (editedcb) {
editedCheckBox = Gtk::manage (new Gtk::CheckButton ());
@@ -320,7 +320,7 @@ void ThresholdAdjuster::showEditedCB ()
void ThresholdAdjuster::refreshLabelStyle ()
{
/* Glib::RefPtr<Gtk::Style> style = label->get_style ();
/* Glib::RefPtr<Gtk::StyleContext> style = label->get_style_context ();
Pango::FontDescription fd = style->get_font ();
fd.set_weight (editedState==Edited ? Pango::WEIGHT_BOLD : Pango::WEIGHT_NORMAL);
style->set_font (fd);