Oops! that mixer button code was broke, another one of these unrealized widget situa...
authorDoug McLain <doug@nostar.net>
Thu, 30 Mar 2006 13:41:47 +0000 (13:41 +0000)
committerDoug McLain <doug@nostar.net>
Thu, 30 Mar 2006 13:41:47 +0000 (13:41 +0000)
git-svn-id: svn://localhost/trunk/ardour2@429 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/mixer_strip.cc

index f3aa7de0bb6c3ca52ed5b2b0fdec326232c13394..7d96e90da9df3bc376aacda1f33da5eea894089f 100644 (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());