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:
parent
c4190bd8d0
commit
dcf34782dd
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user