13
0

make meter point button work again, and allow momentary button action to work again

git-svn-id: svn://localhost/ardour2/branches/3.0@5161 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2009-06-11 00:44:48 +00:00
parent 52fc310cfb
commit 51ef434382
2 changed files with 1 additions and 4 deletions

View File

@ -445,8 +445,6 @@ next_meter_point (MeterPoint mp)
gint gint
GainMeterBase::meter_press(GdkEventButton* ev) GainMeterBase::meter_press(GdkEventButton* ev)
{ {
boost::shared_ptr<Route> _route;
wait_for_release = false; wait_for_release = false;
if (!_route) { if (!_route) {

View File

@ -173,8 +173,7 @@ MixerStrip::init ()
bottom_button_table.attach (meter_point_button, 1, 2, 0, 1); bottom_button_table.attach (meter_point_button, 1, 2, 0, 1);
meter_point_button.signal_button_press_event().connect (mem_fun (gpm, &GainMeter::meter_press), false); meter_point_button.signal_button_press_event().connect (mem_fun (gpm, &GainMeter::meter_press), false);
/* XXX what is this meant to do? */ meter_point_button.signal_button_release_event().connect (mem_fun (gpm, &GainMeter::meter_release), false);
//meter_point_button.signal_button_release_event().connect (mem_fun (gpm, &GainMeter::meter_release), false);
hide_button.set_events (hide_button.get_events() & ~(Gdk::ENTER_NOTIFY_MASK|Gdk::LEAVE_NOTIFY_MASK)); hide_button.set_events (hide_button.get_events() & ~(Gdk::ENTER_NOTIFY_MASK|Gdk::LEAVE_NOTIFY_MASK));