summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_ed.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-07-19 18:21:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-07-19 18:21:58 +0000
commit47add43cd028855cda2292bef9dcde607f948490 (patch)
treebeeabf195c19b89322079d391670dfaa95325d3a /gtk2_ardour/ardour_ui_ed.cc
parentfdfa8a0d9372693eab36428829dd23866f5f8b4b (diff)
new functionality to add MIDI ports from the options editor, not totally finished but functional
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2152 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r--gtk2_ardour/ardour_ui_ed.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc
index 8ab8e6931a..fbb700e20e 100644
--- a/gtk2_ardour/ardour_ui_ed.cc
+++ b/gtk2_ardour/ardour_ui_ed.cc
@@ -704,8 +704,11 @@ ARDOUR_UI::build_menu_bar ()
* until the Menu GObject class is registered, which happens
* when the first menu instance is created.
*/
- Gtk::Settings::get_default()->property_gtk_can_change_accels() = true;
-
+ // XXX bug in gtkmm causes this to popup an error message
+ // Gtk::Settings::get_default()->property_gtk_can_change_accels() = true;
+ // so use this instead ...
+ gtk_settings_set_long_property (gtk_settings_get_default(), "gtk-can-change-accels", 1, "Ardour:designers");
+
wall_clock_box.add (wall_clock_label);
wall_clock_box.set_name ("WallClock");
wall_clock_label.set_name ("WallClock");