From 9051e4231c3453d01108933a3fd50aa44ba59806 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 30 Mar 2006 15:08:56 +0000 Subject: [PATCH] fix color/style issue for mixer strip name button git-svn-id: svn://localhost/trunk/ardour2@430 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/mixer_strip.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 7d96e90da9..9709d9217a 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -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 style = name_button.get_style()->copy(); - //Glib::RefPtr 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 (); }