summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2006-03-30 13:41:47 +0000
committerDoug McLain <doug@nostar.net>2006-03-30 13:41:47 +0000
commitdcf34782dd99276e059d055cd451910fc0274c9d (patch)
tree4bd2e22324a50ed0de5f15d69ebc5edaf5e070ea /gtk2_ardour/mixer_strip.cc
parentc4190bd8d00682a595770a3f96360753df8aab4e (diff)
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
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index f3aa7de0bb..7d96e90da9 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -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());