projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16731d0
)
add explanatory/reminder comment
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 22 Jul 2015 22:05:25 +0000
(18:05 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 22 Feb 2016 20:31:22 +0000
(15:31 -0500)
gtk2_ardour/ardour_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_ui.cc
b/gtk2_ardour/ardour_ui.cc
index f42f035efa5e7a45fefcefb3cffed5d3ba591715..bd2b437c2b98be85d381c2206cc8601c2c079c3b 100644
(file)
--- a/
gtk2_ardour/ardour_ui.cc
+++ b/
gtk2_ardour/ardour_ui.cc
@@
-5117,6
+5117,10
@@
ARDOUR_UI::setup_toplevel_window (Gtk::Window& window, const string& name, void*
window.set_flags (CAN_FOCUS);
window.add_events (Gdk::KEY_PRESS_MASK|Gdk::KEY_RELEASE_MASK);
+ /* This is a hack to ensure that GTK-accelerators continue to
+ * work. Once we switch over to entirely native bindings, this will be
+ * unnecessary and should be removed
+ */
window.add_accel_group (ActionManager::ui_manager->get_accel_group());
window.signal_configure_event().connect (sigc::mem_fun (*this, &ARDOUR_UI::configure_handler));