summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_edit_groups.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-22 01:01:43 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-22 01:01:43 +0000
commitc9e37fcc1430a674328069d6a3a5ec7e4284f282 (patch)
treebcf75a83623c958ca494e9612bdc32109fd10999 /gtk2_ardour/editor_edit_groups.cc
parent442eef90ab056ed373e8f5992602700a9f40cbe1 (diff)
Option to fit a route group to the editor window.
git-svn-id: svn://localhost/ardour2/branches/3.0@5241 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_edit_groups.cc')
-rw-r--r--gtk2_ardour/editor_edit_groups.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_edit_groups.cc b/gtk2_ardour/editor_edit_groups.cc
index 6fea319c0d..272a400f6d 100644
--- a/gtk2_ardour/editor_edit_groups.cc
+++ b/gtk2_ardour/editor_edit_groups.cc
@@ -64,7 +64,8 @@ Editor::build_route_group_list_menu (RouteGroup* g)
items.push_back (MenuElem (_("New Group..."), mem_fun(*this, &Editor::new_route_group)));
items.push_back (MenuElem (_("New Group From"), *new_from));
if (g) {
- items.push_back (MenuElem (_("Edit Group..."), bind (mem_fun(*this, &Editor::edit_route_group), g)));
+ items.push_back (MenuElem (_("Edit Group..."), bind (mem_fun (*this, &Editor::edit_route_group), g)));
+ items.push_back (MenuElem (_("Fit Group to Window"), bind (mem_fun (*this, &Editor::fit_route_group), g)));
}
items.push_back (SeparatorElem());
items.push_back (MenuElem (_("Activate All"), mem_fun(*this, &Editor::activate_all_route_groups)));