13
0

Oops! that mixer button code was broke, another one of these unrealized widget situations. back to normal for now...

git-svn-id: svn://localhost/trunk/ardour2@429 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Doug McLain 2006-03-30 13:41:47 +00:00
parent c4190bd8d0
commit dcf34782dd

View File

@ -1206,12 +1206,12 @@ MixerStrip::route_gui_changed (string what_changed, void* ignored)
void
MixerStrip::show_route_color ()
{
//name_button.ensure_style ();
int val = RC::get_style(group_button)->get_ythickness(); //grab the ythickness from any other button in the strip
name_button.ensure_style ();
//int val = RC::get_style(group_button)->get_ythickness(); //grab the ythickness from any other button in the strip
Glib::RefPtr<Gtk::Style> style = name_button.get_style()->copy();
//Glib::RefPtr<Gtk::Style> style = RC::get_style(group_button)->copy();
style->set_bg (Gtk::STATE_NORMAL, color());
style->set_ythickness(val);
//style->set_ythickness(val);
name_button.set_style (style);
//name_button.get_style()->set_bg (Gtk::STATE_NORMAL, color());