From 47f1cba718acbf82240d447a11a1e75a80dbe53b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 31 Oct 2008 08:25:09 +0000 Subject: [PATCH] fix (?) confusing visual state(s) of bypass button by making it into a completely regular button git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4072 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour2_ui_dark.rc.in | 4 ---- gtk2_ardour/ardour2_ui_light.rc.in | 4 ---- gtk2_ardour/plugin_ui.cc | 5 ----- 3 files changed, 13 deletions(-) diff --git a/gtk2_ardour/ardour2_ui_dark.rc.in b/gtk2_ardour/ardour2_ui_dark.rc.in index 34c6942e21..45bbe4040e 100644 --- a/gtk2_ardour/ardour2_ui_dark.rc.in +++ b/gtk2_ardour/ardour2_ui_dark.rc.in @@ -1474,10 +1474,6 @@ widget "*MixerStripSelectedFrame" style:highest "selected_strip_frame" widget "*MixerStripFrame" style:highest "base_frame" widget "*HWMonitorButton" style:highest "red_when_active" widget "*HWMonitorButton*" style:highest "red_when_active" -widget "*BypassButton" style:highest "red_when_active" -widget "*BypassButton*" style:highest "red_when_active" -widget "*FocusButton" style:highest "red_when_active" -widget "*FocusButton*" style:highest "red_when_active" widget "*TransportSoloAlert" style:highest "flashing_alert" widget "*TransportSoloAlert.*" style:highest "flashing_alert" widget "*TransportAuditioningAlert" style:highest "flashing_alert" diff --git a/gtk2_ardour/ardour2_ui_light.rc.in b/gtk2_ardour/ardour2_ui_light.rc.in index d9d0907de7..8a4c8992d3 100644 --- a/gtk2_ardour/ardour2_ui_light.rc.in +++ b/gtk2_ardour/ardour2_ui_light.rc.in @@ -1477,10 +1477,6 @@ widget "*MixerStripSelectedFrame" style:highest "selected_strip_frame" widget "*MixerStripFrame" style:highest "base_frame" widget "*HWMonitorButton" style:highest "red_when_active" widget "*HWMonitorButton*" style:highest "red_when_active" -widget "*BypassButton" style:highest "red_when_active" -widget "*BypassButton*" style:highest "red_when_active" -widget "*FocusButton" style:highest "red_when_active" -widget "*FocusButton*" style:highest "red_when_active" widget "*TransportSoloAlert" style:highest "flashing_alert" widget "*TransportSoloAlert.*" style:highest "flashing_alert" widget "*TransportAuditioningAlert" style:highest "flashing_alert" diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 63a2bff864..5c40f66d0c 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -408,11 +408,6 @@ PlugUIBase::bypass_toggled () if ((x = bypass_button.get_active()) == insert->active()) { insert->set_active (!x, this); - if (insert->active()) { - bypass_button.set_label (_("Bypass")); - } else { - bypass_button.set_label (_("Active")); - } } }