13
0

fix color/style issue for mixer strip name button

git-svn-id: svn://localhost/trunk/ardour2@430 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-03-30 15:08:56 +00:00
parent dcf34782dd
commit 9051e4231c

View File

@ -1206,15 +1206,7 @@ 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
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);
name_button.set_style (style);
//name_button.get_style()->set_bg (Gtk::STATE_NORMAL, color());
name_button.modify_bg (STATE_NORMAL, color());
route_active_changed ();
}