summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_mixer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-09-22 00:41:25 +0000
committerCarl Hetherington <carl@carlh.net>2010-09-22 00:41:25 +0000
commit096f146d94b20d8b68a838d2f5151765523869b4 (patch)
treee860eebf2980cf207844d9645f5171ea69aa0b5f /gtk2_ardour/ardour_ui_mixer.cc
parent4d908a12fd812e5ae14ea56d6fe626e365d15f63 (diff)
Tidy up Window menu a bit; use ToggleActions for all relevant things, cleanup editor/mixer options a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@7828 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_mixer.cc')
-rw-r--r--gtk2_ardour/ardour_ui_mixer.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui_mixer.cc b/gtk2_ardour/ardour_ui_mixer.cc
index a5cc615f4c..3a1ae4e725 100644
--- a/gtk2_ardour/ardour_ui_mixer.cc
+++ b/gtk2_ardour/ardour_ui_mixer.cc
@@ -42,7 +42,9 @@ ARDOUR_UI::create_mixer ()
}
mixer->signal_window_state_event().connect (sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::main_window_state_event_handler), false));
-
+ mixer->signal_unmap().connect (sigc::bind (sigc::ptr_fun (&ActionManager::uncheck_toggleaction), X_("<Actions>/Common/toggle-mixer")));
+ mixer->signal_unmap().connect (sigc::bind (sigc::ptr_fun (&ActionManager::uncheck_toggleaction), X_("<Actions>/Common/toggle-mixer-on-top")));
+
return 0;
}