From 1e537cb53905509eead1c552d012d99982619ec3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 18 Nov 2015 23:03:16 -0500 Subject: remove tab-related code for tabbed notebook, add tooltips to new buttons --- gtk2_ardour/ardour_ui_dependents.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gtk2_ardour/ardour_ui_dependents.cc') diff --git a/gtk2_ardour/ardour_ui_dependents.cc b/gtk2_ardour/ardour_ui_dependents.cc index b194f3ca89..90e2fd8428 100644 --- a/gtk2_ardour/ardour_ui_dependents.cc +++ b/gtk2_ardour/ardour_ui_dependents.cc @@ -233,15 +233,6 @@ ARDOUR_UI::setup_windows () keyboard->setup_keybindings (); - /* we don't use a widget with its own window for the tab close button, - which makes it impossible to rely on GTK+ to generate signals for - events occuring "in" this widget. Instead, we pre-connect a - handler to the relevant events on the notebook and then check - to see if the event coordinates tell us that it occured "in" - the close button. - */ - _tabs.signal_button_press_event().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_button_event), false); - _tabs.signal_button_release_event().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_button_event), false); _tabs.signal_switch_page().connect (sigc::mem_fun (*this, &ARDOUR_UI::tabs_switch)); rc_option_editor = new RCOptionEditor; -- cgit v1.2.3